Fix Laravel Env Config path

This commit is contained in:
Phill Sparks 2011-10-23 21:41:18 +01:00
parent 32989d39c8
commit ca1e5ac29c
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function constants($constants)
* The environment is controlled by setting an environment
* variable on the server running Laravel.
*/
$environment = (isset($_SERVER['LARAVEL_ENV'])) ? $_SERVER['LARAVEL_ENV'] : '';
$environment = (isset($_SERVER['LARAVEL_ENV'])) ? CONFIG_PATH.$_SERVER['LARAVEL_ENV'].'/' : '';
constants(array('ENV_CONFIG_PATH' => $environment));