]> git.mxchange.org Git - friendica.git/blobdiff - include/redir.php
Parameter should fit ...
[friendica.git] / include / redir.php
index d6b8285cfc08180fe379311733d65318c513458b..8c04d711ed69288168585521df6533ced96da158 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\System;
 
 function auto_redir(App $a, $contact_nick) {
 
@@ -22,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;