Enable debug

This commit is contained in:
Karl Cordes 2020-11-03 19:35:26 +11:00
parent 8787b25115
commit 93292440ac
2 changed files with 2 additions and 2 deletions

View file

@ -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');

View file

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