includes/pageprocess.php
changeset 312 6c7060d36a23
parent 286 b2f985e4cef3
child 313 854eecfada20
child 315 f49e3c8b638c
--- a/includes/pageprocess.php	Mon Dec 03 17:36:25 2007 -0500
+++ b/includes/pageprocess.php	Mon Dec 03 18:45:37 2007 -0500
@@ -232,7 +232,16 @@
       echo $text;
       
       $this->footer();
-      
+    }
+    else if ( $this->namespace == 'Anonymous' )
+    {
+      $uri = scriptPath . '/' . $this->page_id;
+      if ( !$this->send_headers )
+      {
+        $sep = ( strstr($uri, '?') ) ? '&' : '?';
+        $uri .= "{$sep}noheaders";
+      }
+      redirect( $uri, '', '', 0 );
     }
     else if ( !$this->page_exists )
     {