Commit 320653e8 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #122 from sparksp/fix/env_config

LARAVEL_ENV is not correctly translated into a config path
parents 32989d39 ca1e5ac2
......@@ -62,7 +62,7 @@ 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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment