|
@@ 1083-1086 (lines=4) @@
|
| 1080 |
|
$class = ucfirst($class); |
| 1081 |
|
|
| 1082 |
|
// Replace library in ci-phpuni-test |
| 1083 |
|
if (file_exists(APPPATH.'tests/_ci_phpunit_test/replacing/libraries/'.$subdir.$class.'.php')) |
| 1084 |
|
{ |
| 1085 |
|
return $this->_ci_load_stock_library($class, $subdir, $params, $object_name); |
| 1086 |
|
} |
| 1087 |
|
|
| 1088 |
|
// Is this a stock library? There are a few special conditions if so ... |
| 1089 |
|
if (file_exists(BASEPATH.'libraries/'.$subdir.$class.'.php')) |
|
@@ 1089-1092 (lines=4) @@
|
| 1086 |
|
} |
| 1087 |
|
|
| 1088 |
|
// Is this a stock library? There are a few special conditions if so ... |
| 1089 |
|
if (file_exists(BASEPATH.'libraries/'.$subdir.$class.'.php')) |
| 1090 |
|
{ |
| 1091 |
|
return $this->_ci_load_stock_library($class, $subdir, $params, $object_name); |
| 1092 |
|
} |
| 1093 |
|
|
| 1094 |
|
// Let's search for the requested library file and load it. |
| 1095 |
|
foreach ($this->_ci_library_paths as $path) |