Shift core files
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$app = new Illuminate\Foundation\Application(
|
$app = new Illuminate\Foundation\Application(
|
||||||
realpath(__DIR__.'/../')
|
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -27,18 +27,18 @@ $app = new Illuminate\Foundation\Application(
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$app->singleton(
|
$app->singleton(
|
||||||
'Illuminate\Contracts\Http\Kernel',
|
Illuminate\Contracts\Http\Kernel::class,
|
||||||
'App\Http\Kernel'
|
App\Http\Kernel::class
|
||||||
);
|
);
|
||||||
|
|
||||||
$app->singleton(
|
$app->singleton(
|
||||||
'Illuminate\Contracts\Console\Kernel',
|
Illuminate\Contracts\Console\Kernel::class,
|
||||||
'App\Console\Kernel'
|
App\Console\Kernel::class
|
||||||
);
|
);
|
||||||
|
|
||||||
$app->singleton(
|
$app->singleton(
|
||||||
'Illuminate\Contracts\Debug\ExceptionHandler',
|
Illuminate\Contracts\Debug\ExceptionHandler::class,
|
||||||
'App\Exceptions\Handler'
|
App\Exceptions\Handler::class
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user