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); }