summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-05 05:52:03 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-05 05:52:03 +0000
commit9e2b84d406be322432cce65bfa16831718ba68c3 (patch)
tree06806ef0dd9fd824a84edb313688d93d9d1bd2cc /core
parent02207f439519e9e15db82b784286238dbf511e02 (diff)
Minor code style changes.
Diffstat (limited to 'core')
-rw-r--r--core/libraries/Sendmail.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/libraries/Sendmail.php b/core/libraries/Sendmail.php
index e634a7a3..40fbdddf 100644
--- a/core/libraries/Sendmail.php
+++ b/core/libraries/Sendmail.php
@@ -40,7 +40,7 @@ class Sendmail_Core {
public function __construct() {
$this->headers = array();
- $config = Kohana::config('sendmail');
+ $config = Kohana::config("sendmail");
foreach ($config as $key => $value) {
$this->$key($value);
}
@@ -87,10 +87,8 @@ class Sendmail_Core {
$headers[] = "$key: $value";
}
- /*
- * The docs say headers should be separated by \r\n, but occasionaly that doesn't work and you
- * need to use a single \n. This can be set in config/sendmail.php
- */
+ // The docs say headers should be separated by \r\n, but occasionaly that doesn't work and you
+ // need to use a single \n. This can be set in config/sendmail.php
$headers = implode($this->header_separator, $headers);
$message = wordwrap($this->message, $this->line_length, "\n");