Skip to content
Extraits de code Groupes Projets
Valider 1cfdd56b rédigé par Matthieu Napoli's avatar Matthieu Napoli
Parcourir les fichiers

Improve the look of the error page

[skip ci]
parent 4e5f9461
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -117,14 +117,13 @@ class ErrorHandler
$message = ErrorHandler::getErrNoString($errno) . ' - ' . $errstr;
$html = "<strong>There is an error. Please report the message (Piwik " . (class_exists('Piwik\Version') ? Version::VERSION : '') . ")
and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search first as it might have been reported already!).</strong><br /><br/>
";
$html .= "<strong>{$message}</strong> in <em>{$errfile}</em>";
$html .= " on line {$errline}<br />";
$html .= "<br />Backtrace:<div style=\"font-family:Courier;font-size:10pt\"><br />\n";
$html .= str_replace("\n", "<br />\n", $trace);
$html .= "</div>";
$html = "<p>There is an error. Please report the message (Piwik " . (class_exists('Piwik\Version') ? Version::VERSION : '') . ")
and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search firit might have been reported already!).</p>";
$html .= "<p><strong>{$message}</strong> in <em>{$errfile}</em>";
$html .= " on line {$errline}</p>";
$html .= "Backtrace:<pre>";
$html .= str_replace("\n", "\n", $trace);
$html .= "</pre>";
return $html;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter