mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Created file version.php Added new php code to search for version file and if it doesn't find it, it shows the file not found error.
11 lines
156 B
PHP
11 lines
156 B
PHP
<?php
|
|
$filename = "/.VERSION";
|
|
if(file_exists($filename))
|
|
{
|
|
echo file_get_contents($filename);
|
|
}
|
|
else{
|
|
echo "File not found";
|
|
}
|
|
?>
|