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
2023-08-07 17:12:10 +02:00
committed by GitHub
parent fa7582135e
commit 25bdc36183

View File

@@ -0,0 +1,10 @@
<?php
$filename = "/.VERSION";
if(file_exists($filename))
{
echo file_get_contents($filename);
}
else{
echo "File not found";
}
?>