Skip to content

Commit c648938

Browse files
author
Tom Mitchelmore
committed
Refactor config to facade
1 parent 8d9e59c commit c648938

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Exceptions/Handler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ public function render(ServerRequestInterface $request, Exception $e): ResponseI
4343
->runningInProductionEnvironment(!$isDebug)
4444
->register();
4545

46-
if (function_exists('config')) {
47-
$ignition->setConfig(new IgnitionConfig(config('ignition', [])));
48-
}
46+
$ignition->setConfig(new IgnitionConfig(Config::get('ignition', [])));
4947

5048
ob_start();
5149

0 commit comments

Comments
 (0)