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:
@@ -32,13 +32,6 @@ require SYS_PATH.'autoloader'.EXT;
|
|||||||
*/
|
*/
|
||||||
spl_autoload_register(array('Laravel\\Autoloader', 'load'));
|
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
|
* Register all of the core class aliases. These aliases provide a
|
||||||
* convenient way of working with the Laravel core classes without
|
* convenient way of working with the Laravel core classes without
|
||||||
|
|||||||
Reference in New Issue
Block a user