From 22024bab08b1ff187d76a5d63b6926c497c364a7 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 19 Apr 2011 14:49:31 +0200 Subject: Fehlermeldungen geƤndert --- application/controllers/ErrorController.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'application/controllers/ErrorController.php') 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; } -- cgit v1.2.3-55-g7522