summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/controllers/ErrorController.php
diff options
context:
space:
mode:
authormichael pereira2011-03-16 13:01:41 +0100
committermichael pereira2011-03-16 13:01:41 +0100
commit28317cb90e3ba13aa5a946f24eabf027fa78cf6b (patch)
tree0b4907b5ac8adc671b7c43b2e33fa9c0a2f7cf4c /application/modules/dev/controllers/ErrorController.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-28317cb90e3ba13aa5a946f24eabf027fa78cf6b.tar.gz
pbs2-28317cb90e3ba13aa5a946f24eabf027fa78cf6b.tar.xz
pbs2-28317cb90e3ba13aa5a946f24eabf027fa78cf6b.zip
Default KCL wird jetzt automatisch geupdated
Diffstat (limited to 'application/modules/dev/controllers/ErrorController.php')
-rw-r--r--application/modules/dev/controllers/ErrorController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/dev/controllers/ErrorController.php b/application/modules/dev/controllers/ErrorController.php
index 189614b..f317494 100644
--- a/application/modules/dev/controllers/ErrorController.php
+++ b/application/modules/dev/controllers/ErrorController.php
@@ -6,7 +6,6 @@ class dev_ErrorController extends Zend_Controller_Action
public function errorAction()
{
$errors = $this->_getParam('error_handler');
-
switch ($errors->type) {
case Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_ROUTE:
case Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_CONTROLLER:
@@ -21,6 +20,7 @@ class dev_ErrorController extends Zend_Controller_Action
// application error
$this->getResponse()->setHttpResponseCode(500);
$this->view->message = 'Application error';
+ print_a($errors);
break;
}