web_interface/astpp/application/third_party/MX/Loader.php 1 location
|
@@ 405-411 (lines=7) @@
|
| 402 |
|
}
|
| 403 |
|
|
| 404 |
|
/* autoload helpers, plugins, languages */
|
| 405 |
|
foreach (array('helper', 'plugin', 'language') as $type) {
|
| 406 |
|
if (isset($autoload[$type])) {
|
| 407 |
|
foreach ($autoload[$type] as $item) {
|
| 408 |
|
$this->$type($item);
|
| 409 |
|
}
|
| 410 |
|
}
|
| 411 |
|
}
|
| 412 |
|
|
| 413 |
|
/* autoload database & libraries */
|
| 414 |
|
if (isset($autoload['libraries'])) {
|
web_interface/astpp/system/core/Loader.php 1 location
|
@@ 1144-1150 (lines=7) @@
|
| 1141 |
|
} |
| 1142 |
|
|
| 1143 |
|
// Autoload helpers and languages |
| 1144 |
|
foreach (array('helper', 'language') as $type) |
| 1145 |
|
{ |
| 1146 |
|
if (isset($autoload[$type]) AND count($autoload[$type]) > 0) |
| 1147 |
|
{ |
| 1148 |
|
$this->$type($autoload[$type]); |
| 1149 |
|
} |
| 1150 |
|
} |
| 1151 |
|
|
| 1152 |
|
// A little tweak to remain backward compatible |
| 1153 |
|
// The $autoload['core'] item was deprecated |