WebGUI 0.9.0 release
This commit is contained in:
commit
c57a922892
51 changed files with 7351 additions and 0 deletions
35
lib/WebGUI/ErrorHandler.pm
Normal file
35
lib/WebGUI/ErrorHandler.pm
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
package ErrorHandler;
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# WebGUI is Copyright 2001 Plain Black Software.
|
||||
#-------------------------------------------------------------------
|
||||
# Please read the legal notices (docs/legal.txt) and the license
|
||||
# (docs/license.txt) that came with this distribution before using
|
||||
# this software.
|
||||
#-------------------------------------------------------------------
|
||||
# http://www.plainblack.com info@plainblack.com
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#sub fatalError {
|
||||
# my ($key);
|
||||
# print httpHeader();
|
||||
# print "<h1>WebGUI Fatal Error</h1>Something unexpected happened that caused this system to fault. Please send t
|
||||
his message to ";#.$session{setting}{adminEmail}."<p>";
|
||||
# print $0." at ".localtime(time)." reported:<br>";
|
||||
# print $_[0];
|
||||
# print "<p><h3>Caller</h3><table border=1><tr><td valign=top>";
|
||||
# print "<b>Level 1</b><br>".join("<br>",caller(1));
|
||||
# print "</td><td valign=top>"."<b>Level 2</b><br>".join("<br>",caller(2));
|
||||
# print "</td><td valign=top>"."<b>Level 3</b><br>".join("<br>",caller(3));
|
||||
# print "</td><td valign=top>"."<b>Level 4</b><br>".join("<br>",caller(4));
|
||||
# print "</td></tr></table><p><h3>Form Variables</h3>";
|
||||
# #foreach $key (keys %session(form}) {
|
||||
# # print $key." = ".$session{form}{$key}."<br>";
|
||||
# #}
|
||||
# exit;
|
||||
#}
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue