12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?php
-
-
-
- ClassLoader::addDirectories(array(
-
- app_path().'/commands',
- app_path().'/controllers',
- app_path().'/models',
- app_path().'/database/seeds',
- app_path().'/helperClasses',
-
- ));
-
-
-
- Log::useFiles(storage_path().'/logs/laravel.log');
-
-
-
- App::error(function(Exception $exception, $code)
- {
- Log::error($exception);
- });
-
-
-
- App::down(function()
- {
- $title = "OLAS is undergoing maintenance";
- return View::make('global.maintenance', compact('title'));
- });
-
-
-
- require app_path().'/filters.php';
-
- App::missing(function($exception)
- {
- return Response::view('global.404', array(), 404);
- });
|