case Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_ACTION: // 404 error -- controller or action not found $this->getResponse()->setHttpResponseCode(404); $priority = Zend_Log::NOTICE; $this->view->message = 'Strona o podanym adresie nie istnieje!'; $this->view->tytul = 'Błędny adres!'; break;
Listing 8.6. Fragment pliku ErrorController.php
Rozdział 8. Publikowanie projektu na serwerze hostingowym