From 9863dd5a71193a5d8078b582b025a9e5ed4757c2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 23 May 2003 21:59:44 +0000 Subject: - Fixed typo in URL(). Patch by Al. - Added a filter option to disable/enable the rewrite_old_urls() filter. See task #1542. --- includes/common.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index eaf6956ea..9ba97260f 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -555,10 +555,6 @@ function rewrite_old_urls($text) { function check_output($text) { if (isset($text)) { - - // temporary: for development purpose - $text = rewrite_old_urls($text); - if (strip_tags($text, "") == $text) { $text = nl2br($text); } @@ -858,7 +854,7 @@ function url($url = NULL, $query = NULL) { } else { if (isset($query)) { - return "$base_url/$index.php?$query"; + return "$base_url/index.php?$query"; } else { return "$base_url/"; -- cgit v1.2.3