Browse Source

Fix Laravel Env Config path

Phill Sparks 13 years ago
parent
commit
ca1e5ac29c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/bootstrap/constants.php

+ 1 - 1
laravel/bootstrap/constants.php

@@ -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));