From 0971ac6608cec9b9c367c61dcdffe51c379848d1 Mon Sep 17 00:00:00 2001 From: Hugh Barnes Date: Thu, 19 Jul 2018 12:54:24 +1200 Subject: [PATCH] Add Grav version to debug bar Messages tab --- system/src/Grav/Common/Debugger.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/src/Grav/Common/Debugger.php b/system/src/Grav/Common/Debugger.php index 4687325e12..f89b19ca03 100644 --- a/system/src/Grav/Common/Debugger.php +++ b/system/src/Grav/Common/Debugger.php @@ -60,6 +60,7 @@ public function init() if ($this->enabled()) { $this->debugbar->addCollector(new ConfigCollector((array)$this->config->get('system'), 'Config')); $this->debugbar->addCollector(new ConfigCollector((array)$this->config->get('plugins'), 'Plugins')); + $this->addMessage('Grav v' . GRAV_VERSION); } return $this;