]> git.mxchange.org Git - friendica.git/commitdiff
Maybe no longer needed: converted $a->get_baseurl() to App::get_baseurl(). #3010
authorRoland Häder <roland@mxchange.org>
Wed, 14 Dec 2016 10:55:12 +0000 (11:55 +0100)
committerRoland Häder <roland@mxchange.org>
Wed, 14 Dec 2016 10:55:12 +0000 (11:55 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
boot.php

index fda6b7d7bb78a2722a55019b3540e4e23a7d402f..b282f8d48e0b64577860cfcad7da20c4d943a75d 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1478,10 +1478,11 @@ function clean_urls() {
 }
 
 function z_path() {
-       $a = get_app();
-       $base = $a->get_baseurl();
+       $base = App::get_baseurl();
+
        if(! clean_urls())
                $base .= '/?q=';
+
        return $base;
 }
 
@@ -1491,10 +1492,10 @@ function z_path() {
  * @see App::get_baseurl()
  *
  * @return string
+ * @TODO Maybe super-flous and deprecated? Seems to only wrap App::get_baseurl()
  */
 function z_root() {
-       $a = get_app();
-       return $a->get_baseurl();
+       return App::get_baseurl();
 }
 
 /**