From 0e025b7dcd2b44b22f20629b86c0e1547f233ca9 Mon Sep 17 00:00:00 2001 From: cornernote Date: Tue, 7 Jan 2014 15:55:25 +1030 Subject: [PATCH] change default template type to be db --- email/components/EEmailManager.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/email/components/EEmailManager.php b/email/components/EEmailManager.php index 72bedd4..ce4a812 100644 --- a/email/components/EEmailManager.php +++ b/email/components/EEmailManager.php @@ -39,13 +39,14 @@ class EEmailManager extends CComponent private $_fromName; /** - * @var string Template type, can be one of: php, db. + * @var string Template type, can be "db" or "php". */ - public $templateType = 'php'; + public $templateType = 'db'; /** * @var string When templateType=php this is the path to the email views. - * You may copy the default templates from email/views/emails. + * You may copy the default templates from email/views/emails to protected/views/emails + * and set this value to "application.views.emails". */ public $templatePath = 'email.views.emails';