From 286f9e1ae17188562d5f42c197709b547b90596e Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 6 Oct 2014 01:54:21 +0300 Subject: Optimize the composer_autoload check --- system/core/CodeIgniter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/core/CodeIgniter.php') 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')) { -- cgit v1.2.3-24-g4f1b