Added the http request to the internal error box, since it will be necessary to help track down any reported errors.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@552 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-14 18:13:12 +00:00
parent 469962dd40
commit c31c3a3cdc

View File

@@ -40,7 +40,7 @@ function INTERNAL_ERROR($message) {
echo '<BR>It is a problem within the application itself and should be reported to the administrator.</H4>';
// Print out the entire stack trace
echo "<HR>Stack Trace:<OL>";
echo "\n<HR>Stack Trace:<OL>\n";
$trace = debug_backtrace(false);
for ($i = 0; $i < count($trace); ++$i) {
$bline = $trace[$i]['line'];
@@ -58,7 +58,11 @@ function INTERNAL_ERROR($message) {
echo("<LI>$bfile:$bline (" . ($bclas ? "$bclas::$bfunc" : "entry point") . ")</LI>\n");
}
echo '</OL>';
echo "</OL>\n";
echo "\n<HR>HTTP Request<P><PRE>\n";
print_r($_REQUEST);
echo "\n</PRE>\n";
echo '</DIV>';
die();