fix autoloading system path issue.

This commit is contained in:
Taylor Otwell
2012-01-29 17:33:58 -06:00
parent 008819cd1e
commit c44b6264dd
2 changed files with 7 additions and 5 deletions

View File

@@ -37,6 +37,13 @@ spl_autoload_register(array('Laravel\\Autoloader', 'load'));
*/
Autoloader::$aliases = Config::get('application.aliases');
/**
* Register the Laravel namespace so that the auto-loader loads it
* according to the PSR-0 naming conventions. This should provide
* fast resolution of all core classes.
*/
Autoloader::namespaces(array('Laravel' => path('sys')));
/**
* Register all of the bundles that are defined in the bundle info
* file within the bundles directory. This informs the framework