Skip to content

Commit

Permalink
Updated system/core/Common.php to ucfirst the class name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kreitje committed Oct 27, 2011
1 parent 308692d commit f73ba21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/Common.php
Expand Up @@ -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)
Expand Down

0 comments on commit f73ba21

Please sign in to comment.