don't use load_view_file() except in email templates and install of htconfig - to avoid getting wrong file when package is updated by copying over an older version.
This commit is contained in:
@@ -116,7 +116,7 @@ function install_content(&$a) {
|
||||
|
||||
require_once('datetime.php');
|
||||
|
||||
$tpl = load_view_file('view/install_db.tpl');
|
||||
$tpl = file_get_contents('view/install_db.tpl');
|
||||
$o .= replace_macros($tpl, array(
|
||||
'$lbl_01' => t('Friendika Social Network'),
|
||||
'$lbl_02' => t('Installation'),
|
||||
|
||||
Reference in New Issue
Block a user