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

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

View file

@ -23,7 +23,7 @@ function auto_redir(App $a, $contact_nick) {
//
// We also have to make sure that I'm a legitimate contact--I'm not blocked or pending.
$baseurl = App::get_baseurl();
$baseurl = System::baseUrl();
$domain_st = strpos($baseurl, "://");
if ($domain_st === false)
return;