From 93292440ac9594e7b2f0da6064c4bad47d159229 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Tue, 3 Nov 2020 19:35:26 +1100 Subject: [PATCH] Enable debug --- app/config/core.php | 2 +- app/controllers/documents_controller.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/core.php b/app/config/core.php index 7353e1c1..3d664f37 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -41,7 +41,7 @@ error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED); * In production mode, flash messages redirect after a time interval. * In development mode, you need to click the flash message to continue. */ -Configure::write('debug', 0); +Configure::write('debug', 1); Configure::write('version', '1.0.1'); diff --git a/app/controllers/documents_controller.php b/app/controllers/documents_controller.php index b0e70746..9c9b68b4 100755 --- a/app/controllers/documents_controller.php +++ b/app/controllers/documents_controller.php @@ -915,7 +915,7 @@ ENDINSTRUCTIONS; else { $this->set('smtp_errors', $this->Email->smtpError); $this->Session->setFlash(__('The Email has NOT been sent. Something went wrong.', true)); - $this->redirect(array('action'=>'view/'.$id), null, false); + //$this->redirect(array('action'=>'view/'.$id), null, false); }