equal
deleted
inserted
replaced
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 |