summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
AgeCommit message (Collapse)AuthorFilesLines
2012-09-02Merge pull request #1727 from pickupman/bugfix-loader-view_fileAlex Bilbie1-3/+3
Fix bug #1000
2012-08-28Fixed multi-driver load return and last-ditch library subdirectory retry ↵dchill421-3/+3
object names
2012-08-27Fixed select_driver(), cookie sess_destroy(), and native cookie name conflictdchill421-1/+7
2012-08-18Fix bug #1000Joe McFrederick1-3/+3
2012-08-08Relocated driver base class inclusion so drivers can be loaded with library()dchill421-13/+13
2012-07-23Merge branch develop of github.com:/EllisLab/CodeIgniter into sessiondchill421-137/+157
2012-07-16Inconsistency between log_message and show_error when encountering a ↵jonnu1-1/+1
non-existant class Signed-off-by: jonnu <jontce@gmail.com>
2012-07-13Loader::model() - rename foreach ($model AS $single_model) to ($model AS ↵Joel Limberg1-2/+2
$class). Consistent with ::library() and ::_ci_load_class()
2012-07-13Rename $babe => $single_model, in foreach ($model AS $babe) {...}joellimberg1-2/+2
2012-07-03Fix an error in Loader code documentationvlakoff1-1/+1
That's not $this->load_vars(), but $this->load->vars()
2012-06-12Fix APPPATHAndrey Andreev1-1/+1
2012-06-04Loader was too specific about === "", some cases were NULL.Phil Sturgeon1-1/+1
Signed-off-by: Phil Sturgeon <email@philsturgeon.co.uk>
2012-06-02Don't assume $_ci_path is a string (could be FALSE)Alex Bilbie1-1/+1
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/coreAlex Bilbie1-13/+13
2012-05-17Cleanup the core classesAndrey Andreev1-19/+16
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-31Whitespace cleanupDarren Hill1-4/+4
2011-08-30Added Session driver with native PHP sessions and original-flavor CI cookie ↵Darren Hill1-1/+10
sessions
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.