diff --git a/include/functions.php b/include/functions.php index 0df532b..2e76e7c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,10 +1,17 @@ &1", $output); + return substr($output[1],10,8)." (compiled ".getMMDVMHostFileVersion().")"; +} + +function getMMDVMHostFileVersion() { // returns creation-time of MMDVMHost as version-number $filename = MMDVMHOSTPATH . "MMDVMHost"; if (file_exists($filename)) { - return date("Y-m-d", filectime($filename)); + return date("d M y", filectime($filename)); } } diff --git a/index.php b/index.php index cf3cc53..b422412 100644 --- a/index.php +++ b/index.php @@ -33,7 +33,7 @@ include "include/functions.php"; echo "Hotspot"; } ?>: -