Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2007-07-31 21:30:40 +0400
committermattpiwik <matthieu.aubry@gmail.com>2007-07-31 21:30:40 +0400
commit01c888644ff655287e496741e137216e1d539ac1 (patch)
tree5049972356c0774d435ba5e3e1f3e758c817e206 /libs/Zend/Log/Writer
parent982e44217fc228337a799a7e6da828779db114fc (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) git-svn-id: http://dev.piwik.org/svn/trunk@23 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/Zend/Log/Writer')
-rwxr-xr-xlibs/Zend/Log/Writer/Stream.php2
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");
}
}