@@ 685-697 (lines=13) @@ | ||
682 | * @access private |
|
683 | * @return void |
|
684 | */ |
|
685 | private function _getPage403() |
|
686 | { |
|
687 | header("HTTP/1.0 403 Forbidden"); |
|
688 | ||
689 | if (isset($this->_oRoutes->e403)) { |
|
690 | ||
691 | $this->_oRoutes->e403->route = '/'; |
|
692 | $_SERVER['REQUEST_URI'] = '/'; |
|
693 | $this->_route($this->_oRoutes->e403, $_SERVER['REQUEST_URI']); |
|
694 | } |
|
695 | ||
696 | exit; |
|
697 | } |
|
698 | ||
699 | /** |
|
700 | * get the page 404 |
|
@@ 705-717 (lines=13) @@ | ||
702 | * @access private |
|
703 | * @return void |
|
704 | */ |
|
705 | private function _getPage404() |
|
706 | { |
|
707 | header("HTTP/1.0 404 Not Found"); |
|
708 | ||
709 | if (isset($this->_oRoutes->e404)) { |
|
710 | ||
711 | $this->_oRoutes->e404->route = '/'; |
|
712 | $_SERVER['REQUEST_URI'] = '/'; |
|
713 | $this->_route($this->_oRoutes->e404, $_SERVER['REQUEST_URI']); |
|
714 | } |
|
715 | ||
716 | exit; |
|
717 | } |
|
718 | ||
719 | /** |
|
720 | * check the cache - just if it's not yet defined |