Commits

Matthew Tretter committed 7998bde

Fixed apparent regression in library loading.

Comments (0)

Files changed (1)

third_party/MX/Modules.php

 		foreach (Modules::$locations as $location => $offset) {					
 			foreach($modules as $module => $subpath) {
 				$fullpath = $location.$module.'/'.$base.$subpath;
-				if ($base == 'libraires/' && is_file($fullpath.ucfirst($file_ext))) return array($fullpath, $file);
+				if ($base == 'libraries/' && is_file($fullpath.ucfirst($file_ext))) return array($fullpath, ucfirst($file));
 				if (is_file($fullpath.$file_ext)) return array($fullpath, $file);
 			}
 		}