From: garvinhicking Date: Thu, 28 Apr 2005 12:10:16 +0000 (+0000) Subject: we need full URL for redirection X-Git-Tag: 0.9~493 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=efc03494d2b797c8c38c89a16b0a92832e293bd9;p=s9y.git we need full URL for redirection --- diff --git a/index.php b/index.php index 9b6c3a2..7aba637 100644 --- a/index.php +++ b/index.php @@ -206,7 +206,7 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range print $data; exit; } else if (preg_match(PAT_ADMIN, $uri)) { - header("Location: {$serendipity['serendipityHTTPPath']}serendipity_admin.php"); + header("Location: {$serendipity['baseURL']}serendipity_admin.php"); exit; } else if (preg_match(PAT_ARCHIVE, $uri)) { $serendipity['GET']['action'] = 'archives';