diff --git a/system/core/Common.php b/system/core/Common.php index e43bb8db3e0..0a2b893d4f1 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -143,7 +143,7 @@ function &load_class($class, $directory = 'libraries', $prefix = 'CI_') } $name = FALSE; - + $class = ucfirst($class); // Look for the class first in the local application/libraries folder // then in the native system/libraries folder foreach (array(APPPATH, BASEPATH) as $path)