install issues
This commit is contained in:
parent
048983b4be
commit
97f63d0066
2
boot.php
2
boot.php
@ -2221,7 +2221,7 @@ function construct_page(&$a) {
|
||||
|
||||
$installing = false;
|
||||
|
||||
if($a->module == 'install')
|
||||
if($a->module == 'setup')
|
||||
$installing = true;
|
||||
else
|
||||
nav($a);
|
||||
|
@ -52,7 +52,7 @@ class FriendicaSmartyEngine implements ITemplateEngine {
|
||||
$basecompiledir = $a->config['system']['smarty3_folder'];
|
||||
if (!$basecompiledir) $basecompiledir = dirname(__dir__)."/view/tpl/smarty3";
|
||||
if (!is_dir($basecompiledir)) {
|
||||
echo "<b>ERROR:</b> folder <tt>$basecompiledir</tt>does not exist."; killme();
|
||||
echo "<b>ERROR:</b> folder <tt>$basecompiledir</tt> does not exist."; killme();
|
||||
}
|
||||
if(!is_writable($basecompiledir)){
|
||||
echo "<b>ERROR:</b> folder <tt>$basecompiledir</tt> must be writable by webserver."; killme();
|
||||
|
Reference in New Issue
Block a user