From efc03494d2b797c8c38c89a16b0a92832e293bd9 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 28 Apr 2005 12:10:16 +0000 Subject: [PATCH] we need full URL for redirection --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.39.5