diff --git a/app/config/core.php b/app/config/core.php index 7887f500..6f9af7e1 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/config/database.php b/app/config/database.php index 56058f83..f4ae8732 100644 --- a/app/config/database.php +++ b/app/config/database.php @@ -11,7 +11,7 @@ class DATABASE_CONFIG { 'persistent' => false, 'host' => '172.17.0.1', 'login' => 'cmc', - 'password' => 'xVRQI&cA?7AU=hqJ!%au', + 'password' => 'cmc', 'database' => 'cmc', 'prefix' => '', ); diff --git a/app/controllers/documents_controller.php b/app/controllers/documents_controller.php index f79106bb..e9cf6cf4 100755 --- a/app/controllers/documents_controller.php +++ b/app/controllers/documents_controller.php @@ -928,7 +928,7 @@ EOT; return; } - $this->Email->subject = $this->po_email_subject($document['PurchaseOrder']); + $subject = $this->po_email_subject($document['PurchaseOrder']); $this->Email->to = $this->email_format($primary_contact['User']['email']); $this->Email->replyTo = null; $this->Email->cc = null;