mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Switch namespace back to App
This commit is contained in:
@@ -28,17 +28,17 @@ $app = new Illuminate\Foundation\Application(
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Http\Kernel::class,
|
||||
Pterodactyl\Http\Kernel::class
|
||||
App\Http\Kernel::class
|
||||
);
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Console\Kernel::class,
|
||||
Pterodactyl\Console\Kernel::class
|
||||
App\Console\Kernel::class
|
||||
);
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Debug\ExceptionHandler::class,
|
||||
Pterodactyl\Exceptions\Handler::class
|
||||
App\Exceptions\Handler::class
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
@@ -9,7 +9,7 @@ require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
$app = require __DIR__ . '/app.php';
|
||||
|
||||
/** @var \Pterodactyl\Console\Kernel $kernel */
|
||||
/** @var \App\Console\Kernel $kernel */
|
||||
$kernel = $app->make(Kernel::class);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user