tweak how autoloader works.

This commit is contained in:
Taylor Otwell
2013-01-30 19:46:36 -06:00
parent 0e5b8ae8f7
commit 098c6c6295
3 changed files with 16 additions and 3 deletions

View File

@@ -11,12 +11,12 @@
|
*/
ClassLoader::register(new ClassLoader(array(
ClassLoader::addDirectories(array(
app_path().'/controllers',
app_path().'/models',
)));
));
/*
|--------------------------------------------------------------------------