diff options
author | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 12:12:16 +0200 |
---|---|---|
committer | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 12:12:16 +0200 |
commit | d261b1e89c3d4d5191036d5a5660ef6764e593a0 (patch) | |
tree | 13ba5eeaf8f1d2cf608d31622de9ef2c3ef29b99 /system/libraries/Log.php | |
parent | 773ccc318f2769c9b7579630569b5d8ba47b114b (diff) |
Replaced `==` with `===` and `!=` with `!==` in /system/libraries
Diffstat (limited to 'system/libraries/Log.php')
-rw-r--r-- | system/libraries/Log.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Log.php b/system/libraries/Log.php index 51ce43dc7..baac80121 100644 --- a/system/libraries/Log.php +++ b/system/libraries/Log.php @@ -94,7 +94,7 @@ class CI_Log { { $config =& get_config(); - $this->_log_path = ($config['log_path'] != '') ? $config['log_path'] : APPPATH.'logs/'; + $this->_log_path = ($config['log_path'] !== '') ? $config['log_path'] : APPPATH.'logs/'; if ( ! is_dir($this->_log_path) OR ! is_really_writable($this->_log_path)) { @@ -111,7 +111,7 @@ class CI_Log { $this->_threshold_array = array_flip($config['log_threshold']); } - if ($config['log_date_format'] != '') + if ($config['log_date_format'] !== '') { $this->_date_fmt = $config['log_date_format']; } |