summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
AgeCommit message (Collapse)AuthorFilesLines
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into patchTimothy Warren1-8/+8
2012-04-26Merge pull request #1262 from Korri/developPhil Sturgeon1-2/+2
Fix Issue #627
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow1-32/+40
Conflicts: system/core/Loader.php system/database/DB_query_builder.php system/database/drivers/cubrid/cubrid_driver.php system/database/drivers/mssql/mssql_driver.php system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php system/database/drivers/oci8/oci8_driver.php system/database/drivers/odbc/odbc_driver.php system/database/drivers/pdo/pdo_driver.php system/database/drivers/postgre/postgre_driver.php system/database/drivers/sqlite/sqlite_driver.php user_guide_src/source/changelog.rst user_guide_src/source/database/query_builder.rst
2012-04-23Use tabs to separate class propertiesTimothy Warren1-11/+11
2012-04-19Additional formatting fixesTimothy Warren1-14/+25
2012-04-19Normalize comments in core filesTimothy Warren1-2/+0
2012-04-17Adding a package adds configuration folder to the end of the list.Korri1-2/+2
2012-03-28Fix a CI_Loader::_ci_load_class() bugAndrey Andreev1-1/+1
2012-03-26Some style adjustments and fixed comments in the Loader classAndrey Andreev1-30/+29
2012-03-10Fixing some spacing.Christopher Guiney1-2/+2
2012-03-10Allow drivers to be loaded as an array, like models and libraries.Christopher Guiney1-1/+10
2012-03-09Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developPhil Sturgeon1-1/+1
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-03-06Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow1-1/+1
Conflicts: system/database/DB_driver.php system/database/DB_query_builder.php
2012-03-06Changed rewrite_short_tags to have no effect on PHP 5.4Andrey Andreev1-1/+1
2012-02-19Renaming Active Record to Query Builder across the systemJamie Rumbelow1-5/+5
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