summaryrefslogtreecommitdiffstats
path: root/system/core/Log.php
diff options
context:
space:
mode:
authorChris Passas <cpassas@gmail.com>2013-02-15 15:06:11 +0100
committerChris Passas <cpassas@gmail.com>2013-02-15 15:06:11 +0100
commit8d8636778ac600176772c4d54321a1e0842e5b07 (patch)
tree4cd586222c708418c22929b8c8c29a7bc23d82ba /system/core/Log.php
parentfb8de247990189721bc7b2e48fe57ceb2db039f5 (diff)
Update system/core/Log.php
Added a space after the comma on the ltrim().
Diffstat (limited to 'system/core/Log.php')
-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 7b2082a6c..2a4728dc4 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -104,7 +104,7 @@ class CI_Log {
$this->_log_path = ($config['log_path'] !== '') ? $config['log_path'] : APPPATH.'logs/';
- $this->_log_ext = ($config['log_file_extension'] !== '') ? ltrim($config['log_file_extension'],'.') : $this->_log_ext;
+ $this->_log_ext = ($config['log_file_extension'] !== '') ? ltrim($config['log_file_extension'], '.') : $this->_log_ext;
file_exists($this->_log_path) OR mkdir($this->_log_path, DIR_WRITE_MODE, TRUE);