mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Created build.php file Added new php code to search for build file and if it doesn't find it, it shows the file not found error
9 lines
183 B
PHP
9 lines
183 B
PHP
<?php
|
|
$file = "/home/pi/pialert/front/buildtimestamp.txt";
|
|
if (file_exists($file)) {
|
|
echo date("Y-m-d", ((int)file_get_contents($file)));
|
|
} else {
|
|
echo "File not found";
|
|
}
|
|
?>
|