Commit b03521fa authored by Taylor Otwell's avatar Taylor Otwell

added old style auto loader setup in addition to composer.

parent b53e6cd0
...@@ -135,35 +135,36 @@ return array( ...@@ -135,35 +135,36 @@ return array(
'aliases' => array( 'aliases' => array(
'App' => 'Illuminate\Support\Facades\App', 'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan', 'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Auth' => 'Illuminate\Support\Facades\Auth', 'Auth' => 'Illuminate\Support\Facades\Auth',
'Blade' => 'Illuminate\Support\Facades\Blade', 'Blade' => 'Illuminate\Support\Facades\Blade',
'Cache' => 'Illuminate\Support\Facades\Cache', 'Cache' => 'Illuminate\Support\Facades\Cache',
'Config' => 'Illuminate\Support\Facades\Config', 'ClassLoader' => 'Illuminate\Foundation\ClassLoader',
'Controller' => 'Illuminate\Routing\Controllers\Controller', 'Config' => 'Illuminate\Support\Facades\Config',
'Cookie' => 'Illuminate\Support\Facades\Cookie', 'Controller' => 'Illuminate\Routing\Controllers\Controller',
'Crypt' => 'Illuminate\Support\Facades\Crypt', 'Cookie' => 'Illuminate\Support\Facades\Cookie',
'DB' => 'Illuminate\Support\Facades\DB', 'Crypt' => 'Illuminate\Support\Facades\Crypt',
'Eloquent' => 'Illuminate\Database\Eloquent\Model', 'DB' => 'Illuminate\Support\Facades\DB',
'Event' => 'Illuminate\Support\Facades\Event', 'Eloquent' => 'Illuminate\Database\Eloquent\Model',
'File' => 'Illuminate\Support\Facades\File', 'Event' => 'Illuminate\Support\Facades\Event',
'Hash' => 'Illuminate\Support\Facades\Hash', 'File' => 'Illuminate\Support\Facades\File',
'Input' => 'Illuminate\Support\Facades\Input', 'Hash' => 'Illuminate\Support\Facades\Hash',
'Lang' => 'Illuminate\Support\Facades\Lang', 'Input' => 'Illuminate\Support\Facades\Input',
'Log' => 'Illuminate\Support\Facades\Log', 'Lang' => 'Illuminate\Support\Facades\Lang',
'Mail' => 'Illuminate\Support\Facades\Mail', 'Log' => 'Illuminate\Support\Facades\Log',
'Paginator' => 'Illuminate\Support\Facades\Paginator', 'Mail' => 'Illuminate\Support\Facades\Mail',
'Redirect' => 'Illuminate\Support\Facades\Redirect', 'Paginator' => 'Illuminate\Support\Facades\Paginator',
'Redis' => 'Illuminate\Support\Facades\Redis', 'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Request' => 'Illuminate\Support\Facades\Request', 'Redis' => 'Illuminate\Support\Facades\Redis',
'Response' => 'Illuminate\Support\Facades\Response', 'Request' => 'Illuminate\Support\Facades\Request',
'Route' => 'Illuminate\Support\Facades\Route', 'Response' => 'Illuminate\Support\Facades\Response',
'Schema' => 'Illuminate\Support\Facades\Schema', 'Route' => 'Illuminate\Support\Facades\Route',
'Session' => 'Illuminate\Support\Facades\Session', 'Schema' => 'Illuminate\Support\Facades\Schema',
'URL' => 'Illuminate\Support\Facades\URL', 'Session' => 'Illuminate\Support\Facades\Session',
'Validator' => 'Illuminate\Support\Facades\Validator', 'URL' => 'Illuminate\Support\Facades\URL',
'View' => 'Illuminate\Support\Facades\View', 'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
), ),
......
<?php <?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 | Application Error Logger
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment