moved an strtolower higher into the init_class function for case insensitivity
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index b78790d..842e375 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -820,6 +820,8 @@
 	 */

 	function _ci_init_class($class, $prefix = '', $config = FALSE)

 	{	

+		$class = strtolower($class);

+		

 		// Is there an associated config file for this class?

 		if ($config === NULL)

 		{

@@ -838,8 +840,7 @@
 			$name = $prefix.$class;

 		}

 		

-		// Set the variable name we will assign the class to

-		$class = strtolower($class);			

+		// Set the variable name we will assign the class to	

 		$classvar = ( ! isset($this->_ci_varmap[$class])) ? $class : $this->_ci_varmap[$class];

 				

 		// Instantiate the class