Create version.php

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.
This commit is contained in:
Carlos V authored and GitHub committed 2023-08-07 17:12:10 +02:00
1 parent fa7582135e
commit 25bdc36183
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
<?php
$filename = "/.VERSION";
if(file_exists($filename))
{
echo file_get_contents($filename);
}
else{
echo "File not found";
}
?>