mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
@ -31,7 +31,7 @@ function nav(App $a) {
|
|||
$tpl = get_markup_template('nav.tpl');
|
||||
|
||||
$a->page['nav'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => App::get_baseurl(),
|
||||
'$baseurl' => System::baseUrl(),
|
||||
'$sitelocation' => $nav_info['sitelocation'],
|
||||
'$nav' => $nav_info['nav'],
|
||||
'$banner' => $nav_info['banner'],
|
||||
|
@ -68,7 +68,7 @@ function nav_info(App $a)
|
|||
|
||||
$myident = ((is_array($a->user) && isset($a->user['nickname'])) ? $a->user['nickname'] . '@' : '');
|
||||
|
||||
$sitelocation = $myident . substr(App::get_baseurl($ssl_state), strpos(App::get_baseurl($ssl_state), '//') + 2 );
|
||||
$sitelocation = $myident . substr(System::baseUrl($ssl_state), strpos(System::baseUrl($ssl_state), '//') + 2 );
|
||||
|
||||
// nav links: array of array('href', 'text', 'extra css classes', 'title')
|
||||
$nav = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue