Commits

patwork  committed 3d780fd

Fix: codeigniter-reactor/193 incorrect driver filepaths

  • Participants
  • Parent commits 97e2a6e

Comments (0)

Files changed (1)

File system/libraries/Driver.php

 		$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)))
 // END CI_Driver CLASS
 
 /* End of file Driver.php */
-/* Location: ./system/libraries/Driver.php */
+/* Location: ./system/libraries/Driver.php */