Skip to content

Commit

Permalink
view() now properly reads the app config again. Fixes #1621
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Dec 20, 2018
1 parent 7993a78 commit 3a4ade9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/Config/Services.php
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ public static function toolbar(\Config\Toolbar $config = null, bool $getShared =

if (! is_object($config))
{
$config = config(\Config\Toolbar::class);
$config = config('Toolbar');
}

return new \CodeIgniter\Debug\Toolbar($config);
Expand Down
2 changes: 1 addition & 1 deletion system/Debug/Toolbar/Collectors/Views.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Views extends BaseCollector
*/
public function __construct()
{
$this->viewer = Services::renderer(null, true);
$this->viewer = Services::renderer();
}

//--------------------------------------------------------------------
Expand Down

0 comments on commit 3a4ade9

Please sign in to comment.