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:
parent
9d1905ee24
commit
300ab50a84
|
@ -32,13 +32,6 @@
|
||||||
*/
|
*/
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue