Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
access autoloaded libraries.
If a controller exists but a method is not found the current $CI
instance is unset and a new one is created for the 404 override
controller. Any autoloaded libraries will not be available to the 404
override controller because the Loader sees them as already have been
loaded. To fix this we need to reset the loader. I implemented it via an
initialize function that resets the loaded files arrays and then calls
the autoloader. This also simplifies things in CI_Controller because it
only has to call one loader function instead.
|
|
broke the Typography class's string replacements, for instance
|
|
|
|
Moved _ci_autoload(), which is used in CI_Controller to be a public method. Also added CI_Loader::set_base_classes() to be called in the controller so we're not setting protected vars in another class.
Also refactored in the form_helper so it's not trying to access protected vars in CI_Loader. Added the is_loaded() method to the loader to take care of the checks that were being done there.
|
|
package path with add_package_path().
|
|
|
|
the old Base5.
If a constructor is needed in a controller, call parent::__contruct()
|
|
|
|
|
|
|
|
|
|
reworked to use is_loaded() and is_php() from Common
added PHP4 tag
|
|
|
|
|