Skip to content

Firefly III: a personal finances manager

Updated app file after upgrading to laravel 5.2

James Cole9617d17aca30
diff --git a/bootstrap/app.php b/bootstrap/app.php
old mode 100644
new mode 100755
index 3eef0b49d7..ebd712abe1
--- a/bootstrap/app.php
+++ b/bootstrap/app.php
@@ -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