summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/core/Loader.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 4b6b19eea..afbae6175 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -942,6 +942,15 @@ class CI_Loader {
return FALSE;
}
+ // Autoload packages
+ if (isset($autoload['packages']))
+ {
+ foreach ($autoload['packages'] as $package_path)
+ {
+ $this->add_package_path($package_path);
+ }
+ }
+
// Load any custom config file
if (count($autoload['config']) > 0)
{