From 7bd833c94b025f48375cd7c89206c05311a54b2a Mon Sep 17 00:00:00 2001 From: nohn Date: Sat, 30 Apr 2005 09:48:23 +0000 Subject: [PATCH] backporrting --- index.php | 2 +- serendipity_admin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'; diff --git a/serendipity_admin.php b/serendipity_admin.php index e54f5a5..64b42eb 100644 --- a/serendipity_admin.php +++ b/serendipity_admin.php @@ -114,7 +114,7 @@ if (!isset($serendipity['serendipityPath']) || IS_installed === false || IS_up2d -