Skip to content

Commit

Permalink
Merge pull request #2406 from dafriend/fix-issue-#2391-404Override-ca…
Browse files Browse the repository at this point in the history
…che-error

Fix issue #2391 CodeIgniter::display404errors()
  • Loading branch information
lonnieezell committed Nov 15, 2019
2 parents 4771484 + 0ac089c commit 907248f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,8 @@ protected function display404errors(PageNotFoundException $e)
$this->runController($controller);
}

$this->gatherOutput();
$cacheConfig = new Cache();
$this->gatherOutput($cacheConfig);
$this->sendResponse();

return;
Expand Down

0 comments on commit 907248f

Please sign in to comment.