From e737b866d5284ec520a484544e313d65008dc889 Mon Sep 17 00:00:00 2001 From: DDynamic Date: Sat, 6 Feb 2016 15:24:08 -0600 Subject: [PATCH] Add theme key in ENV --- .env.example | 1 + config/themes.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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' => [