diff options
| author | Simon | 2011-04-19 14:49:31 +0200 |
|---|---|---|
| committer | Simon | 2011-04-19 14:49:31 +0200 |
| commit | 22024bab08b1ff187d76a5d63b6926c497c364a7 (patch) | |
| tree | 842683a7f35e3edc7cea164c11a58f08fc421311 /application/controllers/ErrorController.php | |
| parent | Debugmeldung entfernt (diff) | |
| download | pbs2-22024bab08b1ff187d76a5d63b6926c497c364a7.tar.gz pbs2-22024bab08b1ff187d76a5d63b6926c497c364a7.tar.xz pbs2-22024bab08b1ff187d76a5d63b6926c497c364a7.zip | |
Fehlermeldungen geändert
Diffstat (limited to 'application/controllers/ErrorController.php')
| -rw-r--r-- | application/controllers/ErrorController.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/application/controllers/ErrorController.php b/application/controllers/ErrorController.php index 0dfcdb3..efee141 100644 --- a/application/controllers/ErrorController.php +++ b/application/controllers/ErrorController.php @@ -25,13 +25,14 @@ class ErrorController extends Zend_Controller_Action // 404 error -- controller or action not found $this->getResponse()->setHttpResponseCode(404); $this->view->message = 'Page not found'; - print_a($errors); + $this->_redirect('/user/'); + #print_a($errors); break; default: // application error $this->getResponse()->setHttpResponseCode(500); - $this->view->message = 'Application error'; - print_a($errors); + $this->view->message = 'Application error - Please contact the admin'; + #print_a($errors); break; } |
