includes/namespaces/default.php
changeset 1108 c1be67a50d81
parent 1105 0e46639fd408
child 1168 277a9cdead3e
equal deleted inserted replaced
1107:2d37a11fabd8 1108:c1be67a50d81
   531             <!-- End breadcrumbs -->
   531             <!-- End breadcrumbs -->
   532             ';
   532             ';
   533     }
   533     }
   534   }
   534   }
   535   
   535   
   536   public function error_404($userpage = false)
   536   public function error_404()
   537   {
   537   {
   538     global $db, $session, $paths, $template, $plugins; // Common objects
   538     global $db, $session, $paths, $template, $plugins; // Common objects
   539     global $lang, $output;
   539     global $lang, $output;
       
   540     
       
   541     $userpage = $this->namespace == 'User';
   540     
   542     
   541     @header('HTTP/1.1 404 Not Found');
   543     @header('HTTP/1.1 404 Not Found');
   542     
   544     
   543     $msg = ( $pp = $paths->sysmsg('Page_not_found') ) ? $pp : '{STANDARD404}';
   545     $msg = ( $pp = $paths->sysmsg('Page_not_found') ) ? $pp : '{STANDARD404}';
   544     
   546