added old style auto loader setup in addition to composer.
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register The Laravel Class Loader
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| In addition to using Composer, you may use the Laravel class loader to
|
||||
| load your controllers and models. This is useful for keeping all of
|
||||
| your classes in the "global" namespace without Composer updating.
|
||||
|
|
||||
*/
|
||||
|
||||
ClassLoader::register(new ClassLoader(array(
|
||||
|
||||
app_path().'/controllers',
|
||||
app_path().'/models',
|
||||
|
||||
)));
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Error Logger
|
||||
|
||||
Reference in New Issue
Block a user