Commits

wiredesignz committed d37ae1f

fix load model base class

Comments (0)

Files changed (1)

third_party/MX/Loader.php

 			return CI::$APP->$_alias;
 		
 		list($path, $model) = Modules::find($model, $this->_module, 'models/');
-		load_class('Model', 'core');
+		(CI_VERSION < 2) ? load_class('Model', FALSE) : load_class('Model', 'core');
 
 		if ($connect !== FALSE) {
 			if ($connect === TRUE) $connect = '';