]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Replace System::baseUrl() by App->getBaseURL() in mod/register
[friendica.git] / boot.php
index 435de0923c2307bf5b3c5ca7fe0af81173962437..2433143ddbd5224a88b2370d98dedbc619398b0b 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -647,7 +647,7 @@ function killme()
 /**
  * @brief Redirect to another URL and terminate this process.
  */
-function goaway($path)
+function goaway($path = '')
 {
        if (strstr(normalise_link($path), 'http://')) {
                $url = $path;