summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-10-06 00:54:21 +0200
committerAndrey Andreev <narf@devilix.net>2014-10-06 00:54:21 +0200
commit286f9e1ae17188562d5f42c197709b547b90596e (patch)
tree1b2ec26d57cfc6e62dfba263c2fbdb8ec0bfbf1e /system/core
parentd444d445ed0458a352ecb9ff79ffd158677ee805 (diff)
Optimize the composer_autoload check
Diffstat (limited to 'system/core')
-rw-r--r--system/core/CodeIgniter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index 5ff788ae3..10d599c98 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -452,7 +452,7 @@ if ( ! is_php('5.4'))
* Should we use a Composer autoloader?
* ------------------------------------------------------
*/
- if (($composer_autoload = config_item('composer_autoload')) !== FALSE)
+ if ($composer_autoload = config_item('composer_autoload'))
{
if ($composer_autoload === TRUE && file_exists(APPPATH.'vendor/autoload.php'))
{