Commits

Anonymous committed 50a030a

Fix MY_Router

  • Participants
  • Parent commits bfcf7c1

Comments (0)

Files changed (1)

third_party/MX/Modules.php

 		/* don't autoload CI_ or MY_ prefixed classes */
 		if (strstr($class, 'CI_') OR strstr($class, 'MY_')) return;
 		
-		if(is_file($location = APPPATH.'libraries/'.$class.EXT)) {
+		$class = ltrim($class, 'MX_');
+		if(is_file($location = APPPATH.'third_party/MX/'.$class.EXT)) {
 			include_once $location;
 		}		
 	}