includes/pageprocess.php
changeset 571 66e14e61613e
parent 570 4d0d5dae61e5
child 592 27377179fe58
equal deleted inserted replaced
570:4d0d5dae61e5 571:66e14e61613e
   192         $this->err_access_denied();
   192         $this->err_access_denied();
   193         profiler_log("PageProcessor [{$this->namespace}:{$this->page_id}]: Finished send process");
   193         profiler_log("PageProcessor [{$this->namespace}:{$this->page_id}]: Finished send process");
   194         return false;
   194         return false;
   195       }
   195       }
   196     }
   196     }
       
   197     
       
   198     // Is there a custom function registered for handling this namespace?
       
   199     if ( $proc = $paths->get_namespace_processor($this->namespace) )
       
   200     {
       
   201       // yes, just call that
       
   202       // this is protected aggressively by the PathManager against overriding critical namespaces
       
   203       return call_user_func($proc, $this);
       
   204     }
       
   205     
   197     $pathskey = $paths->nslist[ $this->namespace ] . $this->page_id;
   206     $pathskey = $paths->nslist[ $this->namespace ] . $this->page_id;
   198     $strict_no_headers = false;
   207     $strict_no_headers = false;
   199     if ( $this->namespace == 'Admin' && strstr($this->page_id, '/') )
   208     if ( $this->namespace == 'Admin' && strstr($this->page_id, '/') )
   200     {
   209     {
   201       if ( $this->send_headers )
   210       if ( $this->send_headers )