Skip to content

Commit a0a04f0

Browse files
authored
Merge pull request #44 from BlueprintFramework/vic/no-more-config-app
fix `core`: no longer override config/app.php
2 parents ff49dcb + b956f2f commit a0a04f0

2 files changed

Lines changed: 4 additions & 239 deletions

File tree

app/Providers/AppServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Illuminate\Support\ServiceProvider;
1313
use Pterodactyl\Extensions\Themes\Theme;
1414
use Illuminate\Database\Eloquent\Relations\Relation;
15+
use Pterodactyl\Providers\Blueprint\RouteServiceProvider;
1516

1617
class AppServiceProvider extends ServiceProvider
1718
{
@@ -59,6 +60,9 @@ public function register(): void
5960
// Merge Blueprint configurations with existing configurations.
6061
$this->mergeConfigFrom(base_path('config/ExtensionFS.php'), 'filesystems');
6162

63+
// Load Blueprint's route service provider.
64+
$this->app->register(RouteServiceProvider::class);
65+
6266
// Only load the settings service provider if the environment
6367
// is configured to allow it.
6468
if (!config('pterodactyl.load_environment_only', false) && $this->app->environment() !== 'testing') {

config/app.php

Lines changed: 0 additions & 239 deletions
This file was deleted.

0 commit comments

Comments
 (0)