Update to CodeIgniter 2.1.0
This commit is contained in:
4
system/libraries/Driver.php
Executable file → Normal file
4
system/libraries/Driver.php
Executable file → Normal file
@@ -54,7 +54,7 @@ class CI_Driver_Library {
|
||||
if ( ! class_exists($child_class))
|
||||
{
|
||||
// check application path first
|
||||
foreach (array(APPPATH, BASEPATH) as $path)
|
||||
foreach (get_instance()->load->get_package_paths(TRUE) as $path)
|
||||
{
|
||||
// loves me some nesting!
|
||||
foreach (array(ucfirst($driver_name), $driver_name) as $class)
|
||||
@@ -226,4 +226,4 @@ class CI_Driver {
|
||||
// END CI_Driver CLASS
|
||||
|
||||
/* End of file Driver.php */
|
||||
/* Location: ./system/libraries/Driver.php */
|
||||
/* Location: ./system/libraries/Driver.php */
|
||||
Reference in New Issue
Block a user