mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -36,7 +36,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
$localConfigFile = getcwd() . DIRECTORY_SEPARATOR . '.expose.php';
|
||||
|
||||
if (file_exists($localConfigFile)) {
|
||||
$localConfig = require_once $localConfigFile;
|
||||
$localConfig = require $localConfigFile;
|
||||
config()->set('expose', array_merge($builtInConfig, $localConfig));
|
||||
return;
|
||||
}
|
||||
@@ -49,7 +49,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
]);
|
||||
|
||||
if (file_exists($configFile)) {
|
||||
$globalConfig = require_once $configFile;
|
||||
$globalConfig = require $configFile;
|
||||
config()->set('expose', array_merge($builtInConfig, $globalConfig));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user