added comment back to configuration class.
This commit is contained in:
parent
ad4e200d66
commit
695a8848ed
|
|
@ -106,6 +106,9 @@ private static function load($module, $file)
|
|||
|
||||
$path = ($module === 'application') ? CONFIG_PATH : MODULE_PATH.$module.'/config/';
|
||||
|
||||
// Load the base configuration file. Once that is loaded, we will merge any environment
|
||||
// specific configuration options into the base array. This allows for the convenient
|
||||
// cascading of configuration options depending on the application environment.
|
||||
$config = (file_exists($base = $path.$file.EXT)) ? require $base : array();
|
||||
|
||||
if (isset($_SERVER['LARAVEL_ENV']) and file_exists($path = $path.$_SERVER['LARAVEL_ENV'].'/'.$file.EXT))
|
||||
|
|
|
|||
Loading…
Reference in New Issue