Update build.php
Added the creators banner Updated blank spaces
This commit is contained in:
@@ -1,8 +1,21 @@
|
|||||||
<?php
|
<?php
|
||||||
|
#---------------------------------------------------------------------------------#
|
||||||
|
# Pi.Alert #
|
||||||
|
# Open Source Network Guard / WIFI & LAN intrusion detector #
|
||||||
|
# #
|
||||||
|
# version.php - Templates module Template to display the current version #
|
||||||
|
#---------------------------------------------------------------------------------#
|
||||||
|
# Puche 2021 pi.alert.application@gmail.com GNU GPLv3 #
|
||||||
|
# jokob-sk 2022 jokob.sk@gmail.com GNU GPLv3 #
|
||||||
|
# leiweibau 2022 https://github.com/leiweibau GNU GPLv3 #
|
||||||
|
# cvc90 2023 https://github.com/cvc90 GNU GPLv3 #
|
||||||
|
#---------------------------------------------------------------------------------#
|
||||||
|
|
||||||
$file = "/home/pi/pialert/front/buildtimestamp.txt";
|
$file = "/home/pi/pialert/front/buildtimestamp.txt";
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
echo date("Y-m-d", ((int)file_get_contents($file)));
|
echo date("Y-m-d", ((int)file_get_contents($file)));
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
echo "File not found";
|
echo "File not found";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user