mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-28 14:44:17 +01:00
create parameters.json folder when necessary
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user