summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/ErrorController.php7
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;
}