Skip to content

Commit

Permalink
refactor: use config() in display404errors()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 23, 2023
1 parent 08493fb commit 1dfa4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ protected function display404errors(PageNotFoundException $e)

unset($override);

$cacheConfig = new Cache();
$cacheConfig = config(Cache::class);
$this->gatherOutput($cacheConfig, $returned);
if ($this->returnResponse) {
return $this->response;
Expand Down

0 comments on commit 1dfa4fe

Please sign in to comment.