changed loader to search in libraries instead of packages.

This commit is contained in:
Taylor Otwell 2011-06-24 23:42:53 -05:00
parent 8770473fd7
commit 4a5190dfd9
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@
require $path; require $path;
} }
// ---------------------------------------------------------- // ----------------------------------------------------------
// Is the class in the application/packages directory? // Is the class in the application/libraries directory?
// ---------------------------------------------------------- // ----------------------------------------------------------
elseif (file_exists($path = APP_PATH.'packages/'.$file.EXT)) elseif (file_exists($path = APP_PATH.'libraries/'.$file.EXT))
{ {
require $path; require $path;
} }