includes/pageprocess.php
changeset 329 0437a7cf1acc
parent 328 dc838fd61a06
child 335 67bd3121a12e
--- a/includes/pageprocess.php	Thu Dec 20 22:23:07 2007 -0500
+++ b/includes/pageprocess.php	Fri Dec 21 18:21:20 2007 -0500
@@ -169,6 +169,15 @@
     }
     $pathskey = $paths->nslist[ $this->namespace ] . $this->page_id;
     $strict_no_headers = false;
+    if ( $this->namespace == 'Admin' && strstr($this->page_id, '/') )
+    {
+      $this->page_id = substr($this->page_id, 0, strpos($this->page_id, '/'));
+      $funcname = "page_{$this->namespace}_{$this->page_id}";
+      if ( function_exists($funcname) )
+      {
+        $this->page_exists = true;
+      }
+    }
     if ( isset($paths->pages[$pathskey]) )
     {
       if ( $paths->pages[$pathskey]['special'] == 1 )