From 171e86fa5fc04cb8273720436789c88702efbd67 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 28 Dec 2006 20:25:23 +0000 Subject: [PATCH] Remove / patch because it creates more problems than it solves. Real fix should be to properly set the serendipityHTTPPath in the configuration on blogs that run on the root --- include/functions_permalinks.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_permalinks.inc.php b/include/functions_permalinks.inc.php index a25440f..3bef5fc 100644 --- a/include/functions_permalinks.inc.php +++ b/include/functions_permalinks.inc.php @@ -715,7 +715,7 @@ function serendipity_currentURL($strict = false) { } $uri['path'] = preg_replace('@^' . preg_quote($serendipity['serendipityHTTPPath']) . '@i', ($strict ? '/' : ''), $uri['path']); $uri['path'] = preg_replace('@^(&)?' . preg_quote($serendipity['indexFile']) . '(&)@i', '', $uri['path']); - $url = $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?/' . $uri['path'] . $qst; + $url = $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?' . $uri['path'] . $qst; $url = str_replace( array( $serendipity['indexFile'] . '&', -- 2.39.5