|
@@ -14,7 +14,7 @@ discard block |
|
|
block discarded – undo |
|
14
|
14
|
/** Get all the configuration files for the application. */ |
|
15
|
15
|
protected function getConfigurationFiles(Application $app): array |
|
16
|
16
|
{ |
|
17
|
|
- return tap(parent::getConfigurationFiles($app), function (array &$files) use ($app): void { |
|
|
17
|
+ return tap(parent::getConfigurationFiles($app), function(array &$files) use ($app): void { |
|
18
|
18
|
// Inject our custom config file which is stored in `app/config.php`. |
|
19
|
19
|
$files['app'] = $app->basePath().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'config.php'; |
|
20
|
20
|
|
|
@@ -62,7 +62,7 @@ discard block |
|
|
block discarded – undo |
|
62
|
62
|
// If we're running in a Phar and no project config directory exists, |
|
63
|
63
|
// we need to adjust the path to use the bundled static Phar config file. |
|
64
|
64
|
|
|
65
|
|
- if (\Phar::running() && (! is_dir($files['app']))) { |
|
|
65
|
+ if (\Phar::running() && (!is_dir($files['app']))) { |
|
66
|
66
|
$files['app'] = dirname(__DIR__, 6).DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'app.php'; |
|
67
|
67
|
} |
|
68
|
68
|
} |
Please login to merge, or discard this patch.