mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
#659 exception handling producing notices, hence causing confusion
SVN:trunk[2625]
This commit is contained in:
@@ -79,6 +79,7 @@ function FatalErrorCatcher($sOutput)
|
||||
if ( preg_match('|<phpfatalerror>.*</phpfatalerror>|s', $sOutput, $aMatches) )
|
||||
{
|
||||
header("HTTP/1.0 500 Internal server error.");
|
||||
$errors = '';
|
||||
foreach ($aMatches as $sMatch)
|
||||
{
|
||||
$errors .= strip_tags($sMatch)."\n";
|
||||
|
||||
Reference in New Issue
Block a user