diff options
author | Andrey Andreev <narf@devilix.net> | 2014-10-06 00:54:21 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-10-06 00:54:21 +0200 |
commit | 286f9e1ae17188562d5f42c197709b547b90596e (patch) | |
tree | 1b2ec26d57cfc6e62dfba263c2fbdb8ec0bfbf1e /system/core | |
parent | d444d445ed0458a352ecb9ff79ffd158677ee805 (diff) |
Optimize the composer_autoload check
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/CodeIgniter.php | 2 |
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')) { |