Shift core files

This commit is contained in:
Shift
2023-01-03 08:25:43 +00:00
parent 9a6f1788a4
commit ee71e0a86a

View File

@@ -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
); );
/* /*