includes/pageprocess.php
changeset 313 854eecfada20
parent 304 e2cb5f1432c8
parent 312 6c7060d36a23
child 314 474f8be55943
--- a/includes/pageprocess.php	Sun Dec 02 16:00:56 2007 -0500
+++ b/includes/pageprocess.php	Fri Dec 07 16:42:22 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 )
     {