X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=a70c7bf616397e707f337095be8257b3534c88c8;hb=7bf079d858db1604b9c2a34a414756c1b70066de;hp=43f69fc1151ba26945a9fc5c4f4ec457b3cbc485;hpb=cd0fbc5e9a262dfb46e8278da840a87c47eb3ff0;p=friendica.git diff --git a/boot.php b/boot.php index 43f69fc115..a70c7bf616 100644 --- a/boot.php +++ b/boot.php @@ -1558,7 +1558,7 @@ function killme() { * @brief Redirect to another URL and terminate this process. */ function goaway($s) { - if (!strstr(normalise_link($s), normalise_link(App::get_baseurl()))) + if (!strstr(normalise_link($s), "http://")) $s = App::get_baseurl()."/".$s; header("Location: $s");