index.php
changeset 963 b572ce1114f1
parent 953 323c4cd1aa37
child 1016 6d32d80b2192
--- a/index.php	Sun May 10 14:47:14 2009 -0400
+++ b/index.php	Sun May 10 15:52:53 2009 -0400
@@ -75,6 +75,7 @@
       // PageProcessor when we already have one going.
       $template->set_page($page);
       $page->send_headers = true;
+      $page->allow_redir = ( !isset($_GET['redirect']) || (isset($_GET['redirect']) && $_GET['redirect'] !== 'no') );
       $pagepass = ( isset($_REQUEST['pagepass']) ) ? sha1($_REQUEST['pagepass']) : '';
       $page->password = $pagepass;
       $page->send(true);