Always load application/config/constants.php
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index 1981c26..45c3485 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -45,7 +45,7 @@
*
*/
define('CI_VERSION', '3.0-dev');
-
+
/*
* ------------------------------------------------------
* Load the framework constants
@@ -55,10 +55,8 @@
{
require(APPPATH.'config/'.ENVIRONMENT.'/constants.php');
}
- else
- {
- require(APPPATH.'config/constants.php');
- }
+
+ require(APPPATH.'config/constants.php');
/*
* ------------------------------------------------------
@@ -385,4 +383,4 @@
$EXT->call_hook('post_system');
/* End of file CodeIgniter.php */
-/* Location: ./system/core/CodeIgniter.php */
+/* Location: ./system/core/CodeIgniter.php */
\ No newline at end of file