From 749d3cb5e708a14acac8c1bcf95cec833a851232 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Sat, 14 May 2016 21:46:13 +0000 Subject: [PATCH] Test of version output for modified MMDVMHost by G0WFV --- include/functions.php | 9 ++++++++- index.php | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) 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"; } ?>: -

MMDVMHost v by G4KLX

+

MMDVMHost by G4KLX Version: