Skip to content

Commit

Permalink
Add Grav version to debug bar Messages tab (#2106)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughbris authored and rhukster committed Jul 19, 2018
1 parent 70e6512 commit c9367ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/src/Grav/Common/Debugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c9367ba

Please sign in to comment.