includes/pageprocess.php
changeset 391 85f91037cd4f
parent 387 92664d2efab8
child 411 d1a95497b68f
--- a/includes/pageprocess.php	Tue Jan 29 17:29:08 2008 -0500
+++ b/includes/pageprocess.php	Tue Jan 29 23:15:44 2008 -0500
@@ -213,7 +213,8 @@
     {
       if ( !$this->page_exists )
       {
-        die_semicritical('Exception in PageProcessor', '<p>Special page not existent but exception not previously caught by path manager.</p>');
+        $func_name = "page_{$this->namespace}_{$this->page_id}";
+        die_semicritical($lang->get('page_msg_admin_404_title'), $lang->get('page_msg_admin_404_body', array('func_name' => $func_name)));
       }
       $func_name = "page_{$this->namespace}_{$this->page_id}";
       if ( function_exists($func_name) )