aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/page_handler.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 21:39:05 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 21:39:05 +0000
commitc59f246eea6f8cf37c5cf1e20ac3f75102b9c320 (patch)
treed5c095dd93f7f927a8d1673a6a909a4208c8334f /engine/handlers/page_handler.php
parentab02a93d3e09b987f85461adfad283c7e1613217 (diff)
downloadelgg-c59f246eea6f8cf37c5cf1e20ac3f75102b9c320.tar.gz
elgg-c59f246eea6f8cf37c5cf1e20ac3f75102b9c320.tar.bz2
Refs #2228 reverting [8654] so forwarding works
git-svn-id: http://code.elgg.org/elgg/trunk@8695 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/handlers/page_handler.php')
-rw-r--r--engine/handlers/page_handler.php1
1 files changed, 0 insertions, 1 deletions
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");
}