diff options
author | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-07-31 21:30:40 +0400 |
---|---|---|
committer | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-07-31 21:30:40 +0400 |
commit | bb77c90a14411f6eb69b00bb19ad23d5453ae72a (patch) | |
tree | 5049972356c0774d435ba5e3e1f3e758c817e206 /libs/Zend/Log/Writer | |
parent | 906e61aafe9ff1ff73b16c3738dd00d6d8bfbdd2 (diff) |
- fixed bug for logging when no writer specified (when we dont want to log anything) => Using Zend_Log_Writer_Null
- submited 2 bugs for the Zend_Log package
- tested the input filtering methods in piwik_common
- started designing the stats logging engine (new version of phpmyvisites.php now piwik.php)
Diffstat (limited to 'libs/Zend/Log/Writer')
-rwxr-xr-x | libs/Zend/Log/Writer/Stream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Zend/Log/Writer/Stream.php b/libs/Zend/Log/Writer/Stream.php index 206a1251ab..f4f0f2f7f0 100755 --- a/libs/Zend/Log/Writer/Stream.php +++ b/libs/Zend/Log/Writer/Stream.php @@ -92,7 +92,7 @@ class Zend_Log_Writer_Stream extends Zend_Log_Writer_Abstract { $line = $this->_formatter->format($event); - if (! @fwrite($this->_stream, $line)) { + if ( fwrite($this->_stream, $line) === false) { throw new Zend_Log_Exception("Unable to write to stream"); } } |