summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */