|
@@ -14,8 +14,8 @@ $adeiChannel = array(
|
|
// include previous values
|
|
// include previous values
|
|
//include "ADEI_HV_readings.php";
|
|
//include "ADEI_HV_readings.php";
|
|
|
|
|
|
-$username = 'katrin';
|
|
|
|
-$password = 'katrin.Pauli%2020';
|
|
|
|
|
|
+$username = getenv('PHP_ADEI_USERNAME');
|
|
|
|
+$password = getenv('PHP_ADEI_PASSWORD');
|
|
$context = stream_context_create(array(
|
|
$context = stream_context_create(array(
|
|
'http' => array(
|
|
'http' => array(
|
|
'header' => "Authorization: Basic " . base64_encode("$username:$password"), "Connection: close\r\n"
|
|
'header' => "Authorization: Basic " . base64_encode("$username:$password"), "Connection: close\r\n"
|