]> git.mxchange.org Git - friendica.git/blobdiff - mod/manifest.php
Use short form array syntax everywhere
[friendica.git] / mod / manifest.php
index d38dcb8d922026143e32996e04d5552d04c06b2f..a651f51662a923d5a55d90cdd1c51002ef01ac5c 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\System;
 use Friendica\Core\Config;
 
 function manifest_content(App $a) {
@@ -14,11 +15,11 @@ function manifest_content(App $a) {
                $touch_icon = 'images/friendica-128.png';
        }
 
-       $o = replace_macros($tpl, array(
-               '$baseurl' => App::get_baseurl(),
+       $o = replace_macros($tpl, [
+               '$baseurl' => System::baseUrl(),
                '$touch_icon' => $touch_icon,
                '$title' => Config::get('config', 'sitename', 'Friendica'),
-       ));
+       ]);
 
        echo $o;