application/tests/_ci_phpunit_test/replacing/core/CodeIgniter.php 1 location
|
@@ 168-184 (lines=17) @@
|
165 |
|
* Should we use a Composer autoloader? |
166 |
|
* ------------------------------------------------------ |
167 |
|
*/ |
168 |
|
if ($composer_autoload = config_item('composer_autoload')) |
169 |
|
{ |
170 |
|
if ($composer_autoload === TRUE) |
171 |
|
{ |
172 |
|
file_exists(APPPATH.'vendor/autoload.php') |
173 |
|
? require_once(APPPATH.'vendor/autoload.php') |
174 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
175 |
|
} |
176 |
|
elseif (file_exists($composer_autoload)) |
177 |
|
{ |
178 |
|
require_once($composer_autoload); |
179 |
|
} |
180 |
|
else |
181 |
|
{ |
182 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
183 |
|
} |
184 |
|
} |
185 |
|
|
186 |
|
/* |
187 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.0.3-CodeIgniter.php 1 location
|
@@ 165-181 (lines=17) @@
|
162 |
|
* Should we use a Composer autoloader? |
163 |
|
* ------------------------------------------------------ |
164 |
|
*/ |
165 |
|
if ($composer_autoload = config_item('composer_autoload')) |
166 |
|
{ |
167 |
|
if ($composer_autoload === TRUE) |
168 |
|
{ |
169 |
|
file_exists(APPPATH.'vendor/autoload.php') |
170 |
|
? require_once(APPPATH.'vendor/autoload.php') |
171 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
172 |
|
} |
173 |
|
elseif (file_exists($composer_autoload)) |
174 |
|
{ |
175 |
|
require_once($composer_autoload); |
176 |
|
} |
177 |
|
else |
178 |
|
{ |
179 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
180 |
|
} |
181 |
|
} |
182 |
|
|
183 |
|
/* |
184 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.0.4-CodeIgniter.php 1 location
|
@@ 165-181 (lines=17) @@
|
162 |
|
* Should we use a Composer autoloader? |
163 |
|
* ------------------------------------------------------ |
164 |
|
*/ |
165 |
|
if ($composer_autoload = config_item('composer_autoload')) |
166 |
|
{ |
167 |
|
if ($composer_autoload === TRUE) |
168 |
|
{ |
169 |
|
file_exists(APPPATH.'vendor/autoload.php') |
170 |
|
? require_once(APPPATH.'vendor/autoload.php') |
171 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
172 |
|
} |
173 |
|
elseif (file_exists($composer_autoload)) |
174 |
|
{ |
175 |
|
require_once($composer_autoload); |
176 |
|
} |
177 |
|
else |
178 |
|
{ |
179 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
180 |
|
} |
181 |
|
} |
182 |
|
|
183 |
|
/* |
184 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.0.5-CodeIgniter.php 1 location
|
@@ 165-181 (lines=17) @@
|
162 |
|
* Should we use a Composer autoloader? |
163 |
|
* ------------------------------------------------------ |
164 |
|
*/ |
165 |
|
if ($composer_autoload = config_item('composer_autoload')) |
166 |
|
{ |
167 |
|
if ($composer_autoload === TRUE) |
168 |
|
{ |
169 |
|
file_exists(APPPATH.'vendor/autoload.php') |
170 |
|
? require_once(APPPATH.'vendor/autoload.php') |
171 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
172 |
|
} |
173 |
|
elseif (file_exists($composer_autoload)) |
174 |
|
{ |
175 |
|
require_once($composer_autoload); |
176 |
|
} |
177 |
|
else |
178 |
|
{ |
179 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
180 |
|
} |
181 |
|
} |
182 |
|
|
183 |
|
/* |
184 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.0.6-CodeIgniter.php 1 location
|
@@ 165-181 (lines=17) @@
|
162 |
|
* Should we use a Composer autoloader? |
163 |
|
* ------------------------------------------------------ |
164 |
|
*/ |
165 |
|
if ($composer_autoload = config_item('composer_autoload')) |
166 |
|
{ |
167 |
|
if ($composer_autoload === TRUE) |
168 |
|
{ |
169 |
|
file_exists(APPPATH.'vendor/autoload.php') |
170 |
|
? require_once(APPPATH.'vendor/autoload.php') |
171 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
172 |
|
} |
173 |
|
elseif (file_exists($composer_autoload)) |
174 |
|
{ |
175 |
|
require_once($composer_autoload); |
176 |
|
} |
177 |
|
else |
178 |
|
{ |
179 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
180 |
|
} |
181 |
|
} |
182 |
|
|
183 |
|
/* |
184 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.1.0-CodeIgniter.php 1 location
|
@@ 165-181 (lines=17) @@
|
162 |
|
* Should we use a Composer autoloader? |
163 |
|
* ------------------------------------------------------ |
164 |
|
*/ |
165 |
|
if ($composer_autoload = config_item('composer_autoload')) |
166 |
|
{ |
167 |
|
if ($composer_autoload === TRUE) |
168 |
|
{ |
169 |
|
file_exists(APPPATH.'vendor/autoload.php') |
170 |
|
? require_once(APPPATH.'vendor/autoload.php') |
171 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
172 |
|
} |
173 |
|
elseif (file_exists($composer_autoload)) |
174 |
|
{ |
175 |
|
require_once($composer_autoload); |
176 |
|
} |
177 |
|
else |
178 |
|
{ |
179 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
180 |
|
} |
181 |
|
} |
182 |
|
|
183 |
|
/* |
184 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.1.2-CodeIgniter.php 1 location
|
@@ 165-181 (lines=17) @@
|
162 |
|
* Should we use a Composer autoloader? |
163 |
|
* ------------------------------------------------------ |
164 |
|
*/ |
165 |
|
if ($composer_autoload = config_item('composer_autoload')) |
166 |
|
{ |
167 |
|
if ($composer_autoload === TRUE) |
168 |
|
{ |
169 |
|
file_exists(APPPATH.'vendor/autoload.php') |
170 |
|
? require_once(APPPATH.'vendor/autoload.php') |
171 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
172 |
|
} |
173 |
|
elseif (file_exists($composer_autoload)) |
174 |
|
{ |
175 |
|
require_once($composer_autoload); |
176 |
|
} |
177 |
|
else |
178 |
|
{ |
179 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
180 |
|
} |
181 |
|
} |
182 |
|
|
183 |
|
/* |
184 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.1.3-CodeIgniter.php 1 location
|
@@ 168-184 (lines=17) @@
|
165 |
|
* Should we use a Composer autoloader? |
166 |
|
* ------------------------------------------------------ |
167 |
|
*/ |
168 |
|
if ($composer_autoload = config_item('composer_autoload')) |
169 |
|
{ |
170 |
|
if ($composer_autoload === TRUE) |
171 |
|
{ |
172 |
|
file_exists(APPPATH.'vendor/autoload.php') |
173 |
|
? require_once(APPPATH.'vendor/autoload.php') |
174 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
175 |
|
} |
176 |
|
elseif (file_exists($composer_autoload)) |
177 |
|
{ |
178 |
|
require_once($composer_autoload); |
179 |
|
} |
180 |
|
else |
181 |
|
{ |
182 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
183 |
|
} |
184 |
|
} |
185 |
|
|
186 |
|
/* |
187 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.1.4-CodeIgniter.php 1 location
|
@@ 168-184 (lines=17) @@
|
165 |
|
* Should we use a Composer autoloader? |
166 |
|
* ------------------------------------------------------ |
167 |
|
*/ |
168 |
|
if ($composer_autoload = config_item('composer_autoload')) |
169 |
|
{ |
170 |
|
if ($composer_autoload === TRUE) |
171 |
|
{ |
172 |
|
file_exists(APPPATH.'vendor/autoload.php') |
173 |
|
? require_once(APPPATH.'vendor/autoload.php') |
174 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
175 |
|
} |
176 |
|
elseif (file_exists($composer_autoload)) |
177 |
|
{ |
178 |
|
require_once($composer_autoload); |
179 |
|
} |
180 |
|
else |
181 |
|
{ |
182 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
183 |
|
} |
184 |
|
} |
185 |
|
|
186 |
|
/* |
187 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.1.5-CodeIgniter.php 1 location
|
@@ 168-184 (lines=17) @@
|
165 |
|
* Should we use a Composer autoloader? |
166 |
|
* ------------------------------------------------------ |
167 |
|
*/ |
168 |
|
if ($composer_autoload = config_item('composer_autoload')) |
169 |
|
{ |
170 |
|
if ($composer_autoload === TRUE) |
171 |
|
{ |
172 |
|
file_exists(APPPATH.'vendor/autoload.php') |
173 |
|
? require_once(APPPATH.'vendor/autoload.php') |
174 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
175 |
|
} |
176 |
|
elseif (file_exists($composer_autoload)) |
177 |
|
{ |
178 |
|
require_once($composer_autoload); |
179 |
|
} |
180 |
|
else |
181 |
|
{ |
182 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
183 |
|
} |
184 |
|
} |
185 |
|
|
186 |
|
/* |
187 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.1.6-CodeIgniter.php 1 location
|
@@ 168-184 (lines=17) @@
|
165 |
|
* Should we use a Composer autoloader? |
166 |
|
* ------------------------------------------------------ |
167 |
|
*/ |
168 |
|
if ($composer_autoload = config_item('composer_autoload')) |
169 |
|
{ |
170 |
|
if ($composer_autoload === TRUE) |
171 |
|
{ |
172 |
|
file_exists(APPPATH.'vendor/autoload.php') |
173 |
|
? require_once(APPPATH.'vendor/autoload.php') |
174 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
175 |
|
} |
176 |
|
elseif (file_exists($composer_autoload)) |
177 |
|
{ |
178 |
|
require_once($composer_autoload); |
179 |
|
} |
180 |
|
else |
181 |
|
{ |
182 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
183 |
|
} |
184 |
|
} |
185 |
|
|
186 |
|
/* |
187 |
|
* ------------------------------------------------------ |
application/tests/_ci_phpunit_test/replacing/core/old/3.1.7-CodeIgniter.php 1 location
|
@@ 168-184 (lines=17) @@
|
165 |
|
* Should we use a Composer autoloader? |
166 |
|
* ------------------------------------------------------ |
167 |
|
*/ |
168 |
|
if ($composer_autoload = config_item('composer_autoload')) |
169 |
|
{ |
170 |
|
if ($composer_autoload === TRUE) |
171 |
|
{ |
172 |
|
file_exists(APPPATH.'vendor/autoload.php') |
173 |
|
? require_once(APPPATH.'vendor/autoload.php') |
174 |
|
: log_message('error', '$config[\'composer_autoload\'] is set to TRUE but '.APPPATH.'vendor/autoload.php was not found.'); |
175 |
|
} |
176 |
|
elseif (file_exists($composer_autoload)) |
177 |
|
{ |
178 |
|
require_once($composer_autoload); |
179 |
|
} |
180 |
|
else |
181 |
|
{ |
182 |
|
log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: '.$composer_autoload); |
183 |
|
} |
184 |
|
} |
185 |
|
|
186 |
|
/* |
187 |
|
* ------------------------------------------------------ |