summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorpatwork <patwork@gmail.com>2011-04-08 13:46:47 +0200
committerpatwork <patwork@gmail.com>2011-04-08 13:46:47 +0200
commit48bac74ea9fcb8eecdf97597647f1ed492d97b43 (patch)
treed74ff27563c51267d34ca741600b804f51a29d2c /system
parentbfbcf74c94a47c643420efaa342cc525bce2ad2c (diff)
Fix: codeigniter-reactor/193 incorrect driver filepaths
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Driver.php4
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 */