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;
|
$installing = false;
|
||||||
|
|
||||||
if($a->module == 'install')
|
if($a->module == 'setup')
|
||||||
$installing = true;
|
$installing = true;
|
||||||
else
|
else
|
||||||
nav($a);
|
nav($a);
|
||||||
|
@ -52,7 +52,7 @@ class FriendicaSmartyEngine implements ITemplateEngine {
|
|||||||
$basecompiledir = $a->config['system']['smarty3_folder'];
|
$basecompiledir = $a->config['system']['smarty3_folder'];
|
||||||
if (!$basecompiledir) $basecompiledir = dirname(__dir__)."/view/tpl/smarty3";
|
if (!$basecompiledir) $basecompiledir = dirname(__dir__)."/view/tpl/smarty3";
|
||||||
if (!is_dir($basecompiledir)) {
|
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)){
|
if(!is_writable($basecompiledir)){
|
||||||
echo "<b>ERROR:</b> folder <tt>$basecompiledir</tt> must be writable by webserver."; killme();
|
echo "<b>ERROR:</b> folder <tt>$basecompiledir</tt> must be writable by webserver."; killme();
|
||||||
|
Reference in New Issue
Block a user