diff options
author | redmatrix <mike@macgirvin.com> | 2016-08-28 22:18:51 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-08-28 22:18:51 -0700 |
commit | 810d9fefd9778445994d1b88f18996193005f4c2 (patch) | |
tree | b69861b279603ee42bba4a9c1482d1843e964bc0 /Zotlabs/Module | |
parent | fb13e69b8e6fcb05e17be6a6bff79491a9639152 (diff) | |
download | volse-hubzilla-810d9fefd9778445994d1b88f18996193005f4c2.tar.gz volse-hubzilla-810d9fefd9778445994d1b88f18996193005f4c2.tar.bz2 volse-hubzilla-810d9fefd9778445994d1b88f18996193005f4c2.zip |
create smarty dir before any templates can be initialised
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Setup.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index f8e210410..8be0dc7e7 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -45,9 +45,10 @@ class Setup extends \Zotlabs\Web\Controller { if (x($_POST, 'pass')) $this->install_wizard_pass = intval($_POST['pass']); - else + else { $this->install_wizard_pass = 1; - + @os_mkdir(TEMPLATE_BUILD_PATH, STORAGE_DEFAULT_PERMISSIONS, true); + } } /** |