summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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