diff options
-rw-r--r-- | system/libraries/Controller.php | 9 | ||||
-rw-r--r-- | user_guide/changelog.html | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php index 0b34465a2..1b9a42a1a 100644 --- a/system/libraries/Controller.php +++ b/system/libraries/Controller.php @@ -84,6 +84,15 @@ class Controller extends CI_Base { else
{
$this->_ci_autoloader();
+
+ // sync up the objects since PHP4 was working from a copy
+ foreach (array_keys(get_object_vars($this)) as $attribute)
+ {
+ if (is_object($this->$attribute))
+ {
+ $this->load->$attribute =& $this->$attribute;
+ }
+ }
}
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index ab9338116..89276e246 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -123,7 +123,8 @@ Change Log <li>Fixed a bug in the clean_email() method of the Email class to allow for non-numeric / non-sequential array keys.</li>
<li>Fixed a bug in Pagination to scan for non-positive num_links.</li>
<li>Fixed a bug in the typography helper causing extraneous paragraph tags when string contains tags.</li>
- <li>Fixed a bug in the Encryption Library to support modes other than MCRYPT_MODE_ECB</li>
+ <li>Fixed a bug in the Encryption Library to support modes other than MCRYPT_MODE_ECB</li>
+ <li>Fixed a bug (#3175) preventing certain libraries from working properly when autoloaded in PHP 4</li>
<li>Fixed an example of comma-separated emails in the email library documentation.</li>
<li>Fixed an example in the Calendar library for Showing Next/Previous Month Links.</li>
<li>Fixed a typo in the database language file.</li>
|