explicitly registering the base_path as a psr-0 directory no longer necessary since auto-loader will detect core classes by namespace.

This commit is contained in:
Taylor Otwell
2012-01-26 19:55:46 -06:00
parent 9d1905ee24
commit 300ab50a84

View File

@@ -32,13 +32,6 @@ require SYS_PATH.'autoloader'.EXT;
*/
spl_autoload_register(array('Laravel\\Autoloader', 'load'));
/**
* Register the "BASE_PATH" as a PSR-0 directory. This allows the
* entire Laravel framework to be laoded according to the PSR-0
* conventions, as the entire core follows the convention.
*/
Autoloader::psr(BASE_PATH);
/**
* Register all of the core class aliases. These aliases provide a
* convenient way of working with the Laravel core classes without