includes/pageprocess.php
changeset 692 78473351a6c9
parent 685 17ebe24cdf85
child 696 bd5069e1f19a
--- a/includes/pageprocess.php	Wed Aug 13 08:48:03 2008 -0400
+++ b/includes/pageprocess.php	Wed Aug 13 08:55:26 2008 -0400
@@ -313,7 +313,7 @@
       
       $this->footer();
     }
-    else if ( $this->namespace == 'Anonymous' )
+    else if ( $this->namespace == 'API' )
     {
       if ( $this->send_headers )
       {
@@ -566,7 +566,7 @@
     // It's not in there. Perform validation.
     
     // We can't create special, admin, or external pages.
-    if ( $this->namespace == 'Special' || $this->namespace == 'Admin' || $this->namespace == 'Anonymous' )
+    if ( $this->namespace == 'Special' || $this->namespace == 'Admin' || $this->namespace == 'API' )
     {
       $this->raise_error($lang->get('pagetools_create_err_nodb_namespace'));
       return false;