Skip to content

Commit

Permalink
change default template type to be db
Browse files Browse the repository at this point in the history
  • Loading branch information
cornernote committed Jan 7, 2014
1 parent a3dd1e7 commit 0e025b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions email/components/EEmailManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 0e025b7

Please sign in to comment.