includes/pageprocess.php
changeset 391 85f91037cd4f
parent 387 92664d2efab8
child 411 d1a95497b68f
equal deleted inserted replaced
390:9bcc185dc151 391:85f91037cd4f
   211     }
   211     }
   212     if ( $this->namespace == 'Special' || $this->namespace == 'Admin' )
   212     if ( $this->namespace == 'Special' || $this->namespace == 'Admin' )
   213     {
   213     {
   214       if ( !$this->page_exists )
   214       if ( !$this->page_exists )
   215       {
   215       {
   216         die_semicritical('Exception in PageProcessor', '<p>Special page not existent but exception not previously caught by path manager.</p>');
   216         $func_name = "page_{$this->namespace}_{$this->page_id}";
       
   217         die_semicritical($lang->get('page_msg_admin_404_title'), $lang->get('page_msg_admin_404_body', array('func_name' => $func_name)));
   217       }
   218       }
   218       $func_name = "page_{$this->namespace}_{$this->page_id}";
   219       $func_name = "page_{$this->namespace}_{$this->page_id}";
   219       if ( function_exists($func_name) )
   220       if ( function_exists($func_name) )
   220       {
   221       {
   221         profiler_log("PageProcessor [{$this->namespace}:{$this->page_id}]: Calling special/admin page");
   222         profiler_log("PageProcessor [{$this->namespace}:{$this->page_id}]: Calling special/admin page");