Skip to content

Commit 037a923

Browse files
committed
Merge pull request pterodactyl#56 from DDynamic/feature-theme_selection
Add theme key in ENV
2 parents 3fe74b4 + e737b86 commit 037a923

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
APP_ENV=production
22
APP_DEBUG=false
33
APP_KEY=SomeRandomString3232RandomString
4+
APP_THEME=default
45

56
DB_HOST=localhost
67
DB_PORT=3306

config/themes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'enabled' => true,
55
'themes_path' => realpath(base_path('resources/themes')),
66
'asset_not_found' => 'LOG_ERROR',
7-
'active' => 'default',
7+
'active' => ENV('APP_THEME', 'default'),
88

99
'themes' => [
1010
'default' => [

0 commit comments

Comments
 (0)