-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed config/autoload/debug.global.php line ending
Signed-off-by: alexmerlin <[email protected]>
- Loading branch information
1 parent
eab817d
commit 53e2979
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
|
||
/** | ||
* This is a helper file that can be required by other config files to determine the debug status. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
$path = getcwd() . '/config/development.config.php'; | ||
if (! file_exists($path)) { | ||
return [ | ||
'_debug' => false, | ||
]; | ||
} | ||
|
||
$config = require $path; | ||
return [ | ||
'_debug' => $config['debug'] ?? false, | ||
]; | ||
<?php | ||
|
||
/** | ||
* This is a helper file that can be required by other config files to determine the debug status. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
$path = getcwd() . '/config/development.config.php'; | ||
if (! file_exists($path)) { | ||
return [ | ||
'_debug' => false, | ||
]; | ||
} | ||
|
||
$config = require $path; | ||
return [ | ||
'_debug' => $config['debug'] ?? false, | ||
]; |