Revert "Update system/core/Log.php"
This reverts commit bbc6ab4736a896be83e3e3d5f8856374ffa2984c.
diff --git a/system/core/Log.php b/system/core/Log.php
index 2a4728d..0749de8 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -71,13 +71,6 @@
* @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 @@
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 @@
}
/* End of file Log.php */
-/* Location: ./system/core/Log.php */
+/* Location: ./system/core/Log.php */
\ No newline at end of file