summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorChris Passas <cpassas@gmail.com>2013-02-13 17:47:02 +0100
committerChris Passas <cpassas@gmail.com>2013-02-15 21:03:29 +0100
commit6f19fd770b67804797c55d47c1c5f5fcb3a37b2e (patch)
treeb7634aa018ba335987390429a8c2feff1717399d /system/core
parentb0607703b32ec790cc300e9f77a18ea17ab6d7dd (diff)
Revert "Update system/core/Log.php"
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Log.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/system/core/Log.php b/system/core/Log.php
index 2a4728dc4..0749de8ba 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -71,13 +71,6 @@ class CI_Log {
* @var string
*/
protected $_date_fmt = 'Y-m-d H:i:s';
-
- /**
- * Log file extension
- *
- * @var string
- */
- protected $_log_ext = 'php';
/**
* Whether or not the logger can write to the log files
@@ -156,7 +149,7 @@ class CI_Log {
return FALSE;
}
- $filepath = $this->_log_path.'log-'.date('Y-m-d').'.'.$this->_log_ext;
+ $filepath = $this->_log_path.'log-'.date('Y-m-d').'.php';
$message = '';
if ( ! file_exists($filepath))
@@ -191,4 +184,4 @@ class CI_Log {
}
/* End of file Log.php */
-/* Location: ./system/core/Log.php */
+/* Location: ./system/core/Log.php */ \ No newline at end of file