aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-08-28 22:18:51 -0700
committerredmatrix <mike@macgirvin.com>2016-08-28 22:18:51 -0700
commit810d9fefd9778445994d1b88f18996193005f4c2 (patch)
treeb69861b279603ee42bba4a9c1482d1843e964bc0 /Zotlabs/Module
parentfb13e69b8e6fcb05e17be6a6bff79491a9639152 (diff)
downloadvolse-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.php5
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);
+ }
}
/**