summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-04-04 20:55:09 +0200
committerAndrey Andreev <narf@devilix.net>2015-04-04 20:55:09 +0200
commite36d048b068418b76551fb9eaa2c32a7b40f3812 (patch)
tree3f395782794c23aa68cc57ec8ee68120e245f71b
parent85d8ccf7fdf45af86b844046ec22720c2c25745d (diff)
Fix #3733
Close #3734
-rw-r--r--system/core/Loader.php5
-rw-r--r--user_guide_src/source/changelog.rst6
2 files changed, 6 insertions, 5 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 007378ee2..9205ad1b6 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1307,10 +1307,7 @@ class CI_Loader {
}
// Load all other libraries
- foreach ($autoload['libraries'] as $item)
- {
- $this->library($item);
- }
+ $this->library($autoload['libraries']);
}
// Autoload models
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index e6e3e9d17..8fa4d1ef1 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -11,6 +11,10 @@ Release Date: Not Released
- Added DoS mitigation to :php:func:`hash_pbkdf2()` :doc:`compatibility function <general/compatibility_functions>`.
+Bug fixes for 3.0.1
+-------------------
+
+- Fixed a bug (#3733) - Autoloading of libraries with aliases didn't work, although it was advertised to.
Version 3.0.0
=============
@@ -589,7 +593,7 @@ Release Date: March 30, 2015
Bug fixes for 3.0
-------------------
+-----------------
- Fixed a bug where ``unlink()`` raised an error if cache file did not exist when you try to delete it.
- Fixed a bug (#181) - a typo in the form validation language file.