Fix little bug where base_uri is '/' causing the 'Please Login' URL to
[squirrelmail.git] / functions / auth.php
index dde3147547b482272b47d88e883b83d34d2d93ba..bebc7f87a1739de545b3c994428b94118c809ccb 100644 (file)
@@ -31,7 +31,7 @@ function is_logged_in () {
     echo "<body bgcolor=\"ffffff\">\n" .
          '<br><br><center><b>' .
          _("You must be logged in to access this page.").'</b><br><br>' .
-         "<a href=\"$base_uri/src/login.php\" target=\"$frame_top\">"._("Go to the login page")."</a>\n" .
+         "<a href=\"$base_uri" . "src/login.php\" target=\"$frame_top\">"._("Go to the login page")."</a>\n" .
          "</center></body></html>\n";
     exit;
 }