diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2007-07-24 21:31:28 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2007-07-24 21:31:28 +0400 |
commit | 092d08301ca5cdcfb60a83431bcb181f92980893 (patch) | |
tree | c648206e5b9e465ec792f7732232b83fc4ec7cec /modules/ErrorHandler.php | |
parent | 2423537ffc3fc5d099a59a9fac243a835f65aa61 (diff) |
Test
git-svn-id: http://dev.piwik.org/svn/trunk@14 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'modules/ErrorHandler.php')
-rwxr-xr-x | modules/ErrorHandler.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ErrorHandler.php b/modules/ErrorHandler.php index 5a30682815..d7f9b52a0c 100755 --- a/modules/ErrorHandler.php +++ b/modules/ErrorHandler.php @@ -6,7 +6,8 @@ function Piwik_ErrorHandler($errno, $errstr, $errfile, $errline) if(!defined('E_STRICT')) define('E_STRICT', 2048); if(!defined('E_RECOVERABLE_ERROR')) define('E_RECOVERABLE_ERROR', 4096); print "\n<div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'><b>"; - switch($errno){ + switch($errno) + { case E_ERROR: print "Error"; break; case E_WARNING: print "Warning"; break; case E_PARSE: print "Parse Error"; break; |