|
@@ -126,7 +126,7 @@ do {
|
|
|
$strFileContent .= "?".">".PHP_EOL;
|
|
|
|
|
|
// write ADEI data to file
|
|
|
- $file_w = fopen('/var/www/html/sdsstatus/ADEIvalues.php', 'w+');
|
|
|
+ $file_w = fopen('ADEIvalues.php', 'w+');
|
|
|
//sleep(5);
|
|
|
fwrite($file_w, $strFileContent);
|
|
|
fclose($file_w);
|
|
@@ -137,7 +137,7 @@ do {
|
|
|
$log_message .= ", poll time ".($stoptime-$starttime)." s";
|
|
|
if ($stoptime-$starttime > 10) $log_message .= ", delayed readout";
|
|
|
$log_message .= PHP_EOL;
|
|
|
- $file_log = fopen('/var/www/html/sdsstatus/poll_adei_data.log', 'a');
|
|
|
+ $file_log = fopen('logs/poll_adei_data.log', 'a');
|
|
|
fwrite($file_log, $log_message);
|
|
|
fclose($file_log);
|
|
|
|