Skip to content

Commit

Permalink
Merge branch 'develop' into 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Aug 15, 2018
2 parents 8e43550 + 8d9efe4 commit 2a9da76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion system/src/Grav/Common/Debugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,14 @@ public function init()
$this->enabled = $this->config->get('system.debugger.enabled');

if ($this->enabled()) {

$plugins_config = (array)$this->config->get('plugins');

ksort($plugins_config);


$this->debugbar->addCollector(new ConfigCollector((array)$this->config->get('system'), 'Config'));
$this->debugbar->addCollector(new ConfigCollector((array)$this->config->get('plugins'), 'Plugins'));
$this->debugbar->addCollector(new ConfigCollector($plugins_config, 'Plugins'));
$this->addMessage('Grav v' . GRAV_VERSION);
}

Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/GPM/Licenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static function getLicenseFile()

{
if (!isset(self::$file)) {
$path = Grav::instance()['locator']->findResource('user://data') . '/licenses.yaml';;
$path = Grav::instance()['locator']->findResource('user://data') . '/licenses.yaml';
if (!file_exists($path)) {
touch($path);
}
Expand Down

0 comments on commit 2a9da76

Please sign in to comment.