From 08edd92a2135d486603687b181979854b60a3bcc Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 17 Dec 2018 16:28:28 +0100 Subject: license and version info --- app/class/config.php | 2 ++ app/class/controllerinfo.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'app/class') diff --git a/app/class/config.php b/app/class/config.php index b778d83..36a5116 100644 --- a/app/class/config.php +++ b/app/class/config.php @@ -20,6 +20,8 @@ abstract class Config protected static $defaultfavicon = ''; protected static $showeditmenu = true; protected static $editsymbol = 'pen'; + protected static $version = ''; + diff --git a/app/class/controllerinfo.php b/app/class/controllerinfo.php index 8f8b494..306c818 100644 --- a/app/class/controllerinfo.php +++ b/app/class/controllerinfo.php @@ -12,10 +12,12 @@ class Controllerinfo extends Controller public function desktop() { if($this->user->iseditor()) { - $this->showtemplate('info', []); + $this->showtemplate('info', ['version' => getversion()]); } } + + -- cgit v1.2.3