Browse Source

fixing email.php.default, from should have email as key

Ceeram 14 years ago
parent
commit
22029a1199

+ 1 - 1
app/Config/email.php.default

@@ -48,7 +48,7 @@ class EmailConfig {
 
 	public $smtp = array(
 		'transport' => 'Smtp',
-		'from' => array('My Site', 'site@localhost'),
+		'from' => array('site@localhost' => 'My Site'),
 		'host' => 'localhost',
 		'port' => 25,
 		'timeout' => 30,

+ 1 - 1
lib/Cake/Console/Templates/skel/Config/email.php.default

@@ -48,7 +48,7 @@ class EmailConfig {
 
 	public $smtp = array(
 		'transport' => 'Smtp',
-		'from' => array('My Site', 'site@localhost'),
+		'from' => array('site@localhost' => 'My Site'),
 		'host' => 'localhost',
 		'port' => 25,
 		'timeout' => 30,