From 735111cae4599c0c38b734dd24d8a9491cfe0592 Mon Sep 17 00:00:00 2001 From: Benny Date: Fri, 14 Apr 2017 22:31:22 +0200 Subject: [PATCH] Initialize theme in Admin Plugin (#1069) * Initialize theme in Admin Plugin * Updated changelog --- CHANGELOG.md | 1 + classes/themes.php | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72a0251a9..71dd1462c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 04/xx/2017 1. [](#improved) + * Initialize theme in Admin Plugin [#1069](https://github.com/getgrav/grav-plugin-admin/pull/1069) * Use new system configuration entries for username and password format * Reworked Page parent field to use `Pages::getList()` rather than logic in Twig field itself * More robust styling of admin themes page [#1067](https://github.com/getgrav/grav-plugin-admin/pull/1067) diff --git a/classes/themes.php b/classes/themes.php index e693b1741..519a0fab1 100644 --- a/classes/themes.php +++ b/classes/themes.php @@ -14,6 +14,7 @@ public function init() /** @var Themes $themes */ $themes = $this->grav['themes']; $themes->configure(); + $themes->initTheme(); $this->grav->fireEvent('onAdminThemeInitialized'); }