mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
chore: 🧹 Code Cleanup
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#---------------------------------------------------------------------------------#
|
||||
|
||||
$filename = "/app/.VERSION";
|
||||
|
||||
if(file_exists($filename)) {
|
||||
$fileContents = file_get_contents($filename);
|
||||
if(trim($fileContents) === 'Dev') {
|
||||
@@ -22,5 +23,6 @@ if(file_exists($filename)) {
|
||||
}
|
||||
else {
|
||||
echo date('H:i:s') . " - N/A";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user