mirror of
https://github.com/friendica/friendica
synced 2024-12-23 14:00:15 +00:00
Maybe no longer needed: converted $a->get_baseurl() to App::get_baseurl(). #3010
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
cee169997e
commit
582b8db8e8
1 changed files with 5 additions and 4 deletions
9
boot.php
9
boot.php
|
@ -1478,10 +1478,11 @@ function clean_urls() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function z_path() {
|
function z_path() {
|
||||||
$a = get_app();
|
$base = App::get_baseurl();
|
||||||
$base = $a->get_baseurl();
|
|
||||||
if(! clean_urls())
|
if(! clean_urls())
|
||||||
$base .= '/?q=';
|
$base .= '/?q=';
|
||||||
|
|
||||||
return $base;
|
return $base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1491,10 +1492,10 @@ function z_path() {
|
||||||
* @see App::get_baseurl()
|
* @see App::get_baseurl()
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
|
* @TODO Maybe super-flous and deprecated? Seems to only wrap App::get_baseurl()
|
||||||
*/
|
*/
|
||||||
function z_root() {
|
function z_root() {
|
||||||
$a = get_app();
|
return App::get_baseurl();
|
||||||
return $a->get_baseurl();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue