summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-20 17:05:58 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-20 17:05:58 +0100
commitf62747451d1f040b36db7611255d7c1b3cdffcdf (patch)
treebdbf06d942fb0a19454d987de0d89f142709013c /system/libraries/Email.php
parentbb3edf12d0ca82c62f7b7d570108375ec4379749 (diff)
Don't use error suppression on ini_get() either
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r--system/libraries/Email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 93c19de5e..3c3c49e78 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -401,7 +401,7 @@ class CI_Email {
$this->_smtp_auth = ! ($this->smtp_user === '' && $this->smtp_pass === '');
}
- $this->_safe_mode = ( ! is_php('5.4') && (bool) @ini_get('safe_mode'));
+ $this->_safe_mode = ( ! is_php('5.4') && ini_get('safe_mode'));
$this->charset = strtoupper($this->charset);
log_message('debug', 'Email Class Initialized');