From d13591ca85c111fe3ea751f8a903e8092fa94766 Mon Sep 17 00:00:00 2001 From: odain Date: Mon, 4 May 2020 15:24:45 +0200 Subject: [PATCH] create parameters.json folder when necessary --- application/themehandler.class.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/themehandler.class.inc.php b/application/themehandler.class.inc.php index 8a648394e..99931a724 100644 --- a/application/themehandler.class.inc.php +++ b/application/themehandler.class.inc.php @@ -154,7 +154,8 @@ class ThemeHandler { if (!is_dir($sThemeFolderPath)) { - mkdir($sThemeFolderPath); + mkdir($sWorkingPath.'/branding/'); + mkdir($sWorkingPath.'/branding/themes/'); } file_put_contents($sThemeFolderPath.'/theme-parameters.json', json_encode($aThemeParameters)); }