1
0
Fork 0

Use short form array syntax everywhere

- Add short form array syntax to po2php.php generation
This commit is contained in:
Hypolite Petovan 2018-01-15 08:05:12 -05:00
commit e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions

View file

@ -22,11 +22,11 @@ function hostxrd_init(App $a)
}
$tpl = get_markup_template('xrd_host.tpl');
echo replace_macros($tpl, array(
echo replace_macros($tpl, [
'$zhost' => $a->get_hostname(),
'$zroot' => System::baseUrl(),
'$domain' => System::baseUrl(),
'$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey')))
'$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))]
);
exit();