Updated app file after upgrading to laravel 5.2

This commit is contained in:
James Cole 2016-01-08 14:28:15 +01:00
parent d9884ddf73
commit 9617d17aca

17
bootstrap/app.php Normal file → Executable file
View File

@ -11,9 +11,8 @@
|
*/
$app = new Illuminate\Foundation\Application(
realpath(__DIR__ . '/../')
realpath(__DIR__.'/../')
);
/*
@ -27,23 +26,21 @@ $app = new Illuminate\Foundation\Application(
|
*/
$app->singleton(
'Illuminate\Contracts\Http\Kernel',
'FireflyIII\Http\Kernel'
Illuminate\Contracts\Http\Kernel::class,
FireflyIII\Http\Kernel::class
);
$app->singleton(
'Illuminate\Contracts\Console\Kernel',
'FireflyIII\Console\Kernel'
Illuminate\Contracts\Console\Kernel::class,
FireflyIII\Console\Kernel::class
);
$app->singleton(
'Illuminate\Contracts\Debug\ExceptionHandler',
'FireflyIII\Exceptions\Handler'
Illuminate\Contracts\Debug\ExceptionHandler::class,
FireflyIII\Exceptions\Handler::class
);
/*
|--------------------------------------------------------------------------
| Return The Application