Commit 4a5190df authored by Taylor Otwell's avatar Taylor Otwell

changed loader to search in libraries instead of packages.

parent 8770473f
...@@ -33,9 +33,9 @@ return function($class) { ...@@ -33,9 +33,9 @@ return function($class) {
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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment