diff options
author | patwork <patwork@gmail.com> | 2011-04-08 14:18:56 +0200 |
---|---|---|
committer | patwork <patwork@gmail.com> | 2011-04-08 14:18:56 +0200 |
commit | 151689e547e9ab236aca7f11c14a1753554c4088 (patch) | |
tree | de208fc630df6e3b187bda77b93d5f6ea386a227 /system/libraries | |
parent | 2d065c8a3518ce6c0bc2cd2725c98201ba436525 (diff) | |
parent | 48bac74ea9fcb8eecdf97597647f1ed492d97b43 (diff) |
merge with codeigniter-reactor
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Driver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php index d1838f2c1..b942f539f 100644 --- a/system/libraries/Driver.php +++ b/system/libraries/Driver.php @@ -45,7 +45,7 @@ class CI_Driver_Library { $child_class = $this->lib_name.'_'.$child; // Remove the CI_ prefix and lowercase - $lib_name = strtolower(preg_replace('/^CI_/', '', $this->lib_name)); + $lib_name = ucfirst(strtolower(preg_replace('/^CI_/', '', $this->lib_name))); $driver_name = strtolower(preg_replace('/^CI_/', '', $child_class)); if (in_array($driver_name, array_map('strtolower', $this->valid_drivers))) @@ -226,4 +226,4 @@ class CI_Driver { // END CI_Driver CLASS /* End of file Driver.php */ -/* Location: ./system/libraries/Driver.php */
\ No newline at end of file +/* Location: ./system/libraries/Driver.php */ |