summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/core/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Log.php b/system/core/Log.php
index 57505b526..1dca1bf3b 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -137,7 +137,7 @@ class CI_Log {
$this->_date_fmt = $config['log_date_format'];
}
- if (is_int($config['log_file_permissions']))
+ if ( ! empty($config['log_file_permissions']) && is_int($config['log_file_permissions']))
{
$this->_file_permissions = $config['log_file_permissions'];
}