summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
AgeCommit message (Collapse)AuthorFilesLines
2012-01-09Fix issue #904Andrey Andreev1-7/+5
2012-01-08Remove loading of ['core'] elementsAndrey Andreev1-7/+0
2012-01-07Improve the core Loader libraryAndrey Andreev1-53/+37
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-27Revert "Abstracting the loading of files in the config directory depending ↵Greg Aker1-1/+8
on environments." This reverts commit 5c1aa631c5f5ec2f6b75ba1158178418e50ba11a.
2011-12-26Merge pull request #680 from bubbafoley/load_get_varsPhil Sturgeon1-0/+14
Added method get_vars() to CI_Loader.
2011-12-25Abstracting the loading of files in the config directory depending on ↵Greg Aker1-8/+1
environments.
2011-11-19add method get_vars() to CI_Loader to retrieve all variables loaded with ↵Shane Pearson1-0/+14
$this->load->vars()
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-10-07CI_Loader::driver() processes empty library. Fixed.Tom Klingenberg1-0/+5
This causes endless recursion calls _ci_load_class(), see #550
2011-08-23make _ci_autoloader() protected so it can be properly extended.Shane Pearson1-1/+1
2011-08-21Ability to move the view folder out of the Application directoryJoe Cianflone1-1/+1
* index.php -- added the $view_folder var and VIEWPATH constant * Loader.php -- changed the private _ci_view_paths var so that it's not hardcoded to the view dir, but looks for the VIEWPATH constant instead
2011-08-15Merge branch 'develop' of github.com:philsturgeon/codeigniter-reactor into ↵Phil Sturgeon1-11/+91
develop
2011-08-14Added some docs to CI core filesDavid Behler1-11/+91
2011-08-13Merged my GitHub mirror.Phil Sturgeon1-10/+11
2011-08-13If a config class was loaded first then a library with the same name is ↵Phil Sturgeon1-4/+4
loaded, the config would be ignored.
2011-08-10Reset loaded files arrays in the Loader so the 404_override controller can ↵Shane Pearson1-10/+11
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.
2011-07-23Added ->load->get_var() to check against ->load->_ci_cached_vars[].Phil Sturgeon1-0/+15
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-30/+30
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-30/+30
2011-04-21Flipping around contents of a conditional in _ci_load() so the small bits ↵Greg Aker1-6/+6
are on top.
2011-04-20Refactoring the loader to set protected class variables.Greg Aker1-19/+56
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.
2011-04-20Altering the loader to be able to load views from packages when adding the ↵Greg Aker1-52/+58
package path with add_package_path().
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-32/+32
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon1-3/+3
stop environment checks.
2011-04-03Fixed loading an array of libraries.Phil Sturgeon1-1/+1
2011-04-01Merged changes.Phil Sturgeon1-13/+3
2011-03-17load config files from environment specific locations in core classes, ↵bubbafoley1-1/+9
helpers and libraries
2011-02-14Whitespace cleanup in core/Pascal Kriete1-2/+2
2011-02-09cleaned up some redundant code in the Loader->library functionKellas Reeves1-13/+3
Elaborated on its functionality in the user guide.
2011-02-02Merged recent changes and tweaked multi-env changes.Phil Sturgeon1-1/+10
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon1-13/+42
2011-01-16Set error_reporting to E_ALL when environment unknown and changed CI_Loader ↵joelcox1-2/+13
to load environment configs first.
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2011-01-04Added ability to auto load package config files. Fixes #281Eric Barnes1-8/+21
2010-12-27Languages can now be placed in packages folders, and added ↵Phil Sturgeon1-14/+21
->load->get_package_paths().
2010-12-15Package paths can now be auto-loaded in autoload.php.Phil Sturgeon1-0/+9
2010-12-15Package paths can now be auto-loaded in autoload.php.Phil Sturgeon1-0/+9
2010-11-10Fixing output buffer error in the loader classGreg Aker1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-1/+1
2010-11-10Removing a global call that was needed for php 4.Pascal Kriete1-3/+1
2010-11-10Removing instantiate_class(), which was needed to make php 4 and 5.3 play ↵Pascal Kriete1-1/+1
together nicely. Removed all instantiations by reference.
2010-11-10Merging in changesGreg Aker1-38/+6
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-11-10Removing _ci_is_instance from the loader.Pascal Kriete1-38/+6
2010-11-10Removing _assign_to_models and _assign_libraries from model related code in ↵Pascal Kriete1-37/+2
favor of __get().
2010-11-09Normalizing package paths to include a single trailing slash.Pascal Kriete1-0/+4
2010-10-12Automated merge with http://hg.ellislab.com/CodeIgniter2Derek Jones1-1/+11
2010-10-12Fix #83 where multiple libraries could not be loaded at once by passing an ↵Greg Aker1-0/+10
array to the load->library() function.
2010-10-11Fixed a bug where CI_Model is always loaded in core/Loader.php, regardless ↵Greg Aker1-1/+1
of if the class is instantiated or not.