updated routing to fix several issues.
This commit is contained in:
@@ -1,5 +1,24 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Auto-Loader Mappings
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Laravel uses a simple array of class to path mappings to drive the class
|
||||
| auto-loader. This simple approach helps avoid the performance problems
|
||||
| of searching through directories by convention.
|
||||
|
|
||||
| Registering a mapping couldn't be easier. Just pass an array of class
|
||||
| to path maps into the "map" function of Autoloader. Then, when you
|
||||
| want to use that class, just use it. It's simple!
|
||||
|
|
||||
*/
|
||||
|
||||
Autoloader::map(array(
|
||||
'Base_Controller' => path('app').'controllers/base.php',
|
||||
));
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Auto-Loader PSR-0 Directories
|
||||
@@ -18,24 +37,4 @@
|
||||
Autoloader::psr(array(
|
||||
path('app').'models',
|
||||
path('app').'libraries',
|
||||
));
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Auto-Loader Mappings
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Laravel uses a simple array of class to path mappings to drive the class
|
||||
| auto-loader. This simple approach helps avoid the performance problems
|
||||
| of searching through directories by some kind of convention. It also
|
||||
| gives you the freedom to organize your application how you want.
|
||||
|
|
||||
| Registering a mapping couldn't be easier. Just pass an array of class
|
||||
| to path maps into the "map" function of Autoloader. Then, when you
|
||||
| want to use that class, just use it. It's a piece of cake.
|
||||
|
|
||||
*/
|
||||
|
||||
Autoloader::map(array(
|
||||
'Base_Controller' => path('app').'controllers/base.php',
|
||||
));
|
||||
Reference in New Issue
Block a user