123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?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';
-
- require_once base_path() . '/vendor/dompdf/dompdf/dompdf_config.inc.php';
-
- App::missing(function ($exception) {
- return Response::view('global.404', array(), 404);
- });
|