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