From c59f246eea6f8cf37c5cf1e20ac3f75102b9c320 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 13 Mar 2011 21:39:05 +0000 Subject: Refs #2228 reverting [8654] so forwarding works git-svn-id: http://code.elgg.org/elgg/trunk@8695 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/handlers/page_handler.php | 1 - 1 file changed, 1 deletion(-) (limited to 'engine/handlers') diff --git a/engine/handlers/page_handler.php b/engine/handlers/page_handler.php index 7b1b95459..491a1b200 100644 --- a/engine/handlers/page_handler.php +++ b/engine/handlers/page_handler.php @@ -34,7 +34,6 @@ $url = current_page_url(); $new_url = preg_replace('#/pg/#', '/', $url); if ($url !== $new_url) { - die('site'); header("HTTP/1.1 301 Moved Permanently"); header("Location: $new_url"); } -- cgit v1.2.3