Enable debug
This commit is contained in:
parent
8787b25115
commit
93292440ac
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue