PIWIK_DISPLAY_ERRORS not working


#1

Hi,

I don’t want to display any error, so according to the doc, one way is creating bootstrap.php in the root directory with this content:

<?php define('PIWIK_DISPLAY_ERRORS', 0); But it has no effect, although the constant is read. I can do a print PIWIK_DISPLAY_ERRORS in index.php and it will show the value. The only way that works right now, is defining the constant in index.php, this way doesn't enter in the conditional, but this is not upgrade friendly. I'm using php5-cgi 5.2.6.dfsg.1-1+lenny9 (not the apache2 module) and apache mpm worker 2.2.16-6 Thank you in advance!

(vipsoft) #2

Thanks. Fixed in http://dev.piwik.org/trac/changeset/3828