commit | 92aa67cf67292b20cfb8f18fc9e24b7408620355 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Sat Jun 09 23:37:17 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Sat Jun 09 23:37:17 2012 +0300 |
tree | 0dfee9c67aec2347a2bc344c860144b1f87b8bfe | |
parent | f243ce13b4baf5bf8bebf36586514bb243dfc355 [diff] [blame] |
Fix defined() usage in system/core/Common.php
diff --git a/system/core/Common.php b/system/core/Common.php index c08755c..1708653 100644 --- a/system/core/Common.php +++ b/system/core/Common.php
@@ -240,7 +240,7 @@ } // Is the config file in the environment folder? - if (defined(ENVIRONMENT) && file_exists($file_path = APPPATH.'config/'.ENVIRONMENT.'/config.php')) + if (defined('ENVIRONMENT') && file_exists($file_path = APPPATH.'config/'.ENVIRONMENT.'/config.php')) { require($file_path); }