From 6b4cfe4f180a10e3008356c3a4590ad313fa88dd Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 28 Aug 2016 22:24:27 -0700 Subject: Before throwing a 'smarty3 dir does not exist' fatal error, try and create it. We did try and create it during install, but the template processor is initalised long before we get to that code (and throws that ugly error). --- Zotlabs/Module/Setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Module/Setup.php') diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index 8be0dc7e7..610f3c4f4 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -43,11 +43,11 @@ class Setup extends \Zotlabs\Web\Controller { killme(); } - if (x($_POST, 'pass')) + if (x($_POST, 'pass')) { $this->install_wizard_pass = intval($_POST['pass']); + } else { $this->install_wizard_pass = 1; - @os_mkdir(TEMPLATE_BUILD_PATH, STORAGE_DEFAULT_PERMISSIONS, true); } } -- cgit v1.2.3