create parameters.json folder when necessary

This commit is contained in:
odain
2020-05-04 15:24:45 +02:00
parent f88f321d79
commit d13591ca85

View File

@@ -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));
}