1
1
Fork 0

App::get_baseurl is now replaced with System::baseUrl

This commit is contained in:
Michael 2017-08-26 07:32:10 +00:00
commit 5adfeb0bd5
134 changed files with 603 additions and 624 deletions

View file

@ -2,7 +2,7 @@
<html>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo Friendica\App::get_baseurl() ?>";</script>
<script>var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
<script type="text/javascript">
function ScrollToBottom(){
window.scrollTo(0,document.body.scrollHeight);

View file

@ -18,7 +18,7 @@ function smoothly_init(App $a) {
$cssFile = null;
$ssl_state = null;
$baseurl = App::get_baseurl($ssl_state);
$baseurl = System::baseUrl($ssl_state);
$a->page['htmlhead'] .= <<< EOT
<script>
@ -108,7 +108,7 @@ if (! function_exists('_js_in_foot')) {
*/
$a = get_app();
$ssl_state = null;
$baseurl = App::get_baseurl($ssl_state);
$baseurl = System::baseUrl($ssl_state);
$bottom['$baseurl'] = $baseurl;
$tpl = get_markup_template('bottom.tpl');