diff options
Diffstat (limited to 'system/core/Loader.php')
-rw-r--r-- | system/core/Loader.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index 0bc6e844a..ea81c6f26 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -1193,6 +1193,15 @@ class CI_Loader { } } + // Autoload drivers + if (isset($autoload['drivers'])) + { + foreach ($autoload['drivers'] as $item) + { + $this->driver($item); + } + } + // Autoload models if (isset($autoload['model'])) { @@ -1260,4 +1269,4 @@ class CI_Loader { } /* End of file Loader.php */ -/* Location: ./system/core/Loader.php */
\ No newline at end of file +/* Location: ./system/core/Loader.php */ |