summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-09 22:37:17 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-09 22:37:17 +0200
commit92aa67cf67292b20cfb8f18fc9e24b7408620355 (patch)
tree0dfee9c67aec2347a2bc344c860144b1f87b8bfe /system
parentf243ce13b4baf5bf8bebf36586514bb243dfc355 (diff)
Fix defined() usage in system/core/Common.php
Diffstat (limited to 'system')
-rw-r--r--system/core/Common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index c08755c91..1708653e7 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -240,7 +240,7 @@ if ( ! function_exists('get_config'))
}
// 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);
}