diff --git a/.env.example b/.env.example index 26681c916..0b1e3d083 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,7 @@ APP_ENV=production APP_DEBUG=false APP_KEY=SomeRandomString3232RandomString +APP_THEME=default DB_HOST=localhost DB_PORT=3306 diff --git a/config/themes.php b/config/themes.php index c8f9d6d67..870529767 100644 --- a/config/themes.php +++ b/config/themes.php @@ -4,7 +4,7 @@ return [ 'enabled' => true, 'themes_path' => realpath(base_path('resources/themes')), 'asset_not_found' => 'LOG_ERROR', - 'active' => 'default', + 'active' => ENV('APP_THEME', 'default'), 'themes' => [ 'default' => [