[Lxr-commits] CVS: lxr/lib/LXR Common.pm,1.107,1.108
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2013-11-09 19:37:14
|
Update of /cvsroot/lxr/lxr/lib/LXR In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12456/lib/LXR Modified Files: Common.pm Log Message: Common.pm: HTTP headers forgotten When sub fatal was modified to be able to print to screen before full HTTP initialisation, sending minimal HTTP headers was forgotten. Index: Common.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Common.pm,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- Common.pm 8 Nov 2013 18:14:03 -0000 1.107 +++ Common.pm 9 Nov 2013 19:37:11 -0000 1.108 @@ -196,6 +196,7 @@ # If HTTP is not yet initialised, emit a minimal set of headers if ($wwwdebug) { if (!$HTTP_inited) { + httpminimal(); print '<html><head><title>LXR Fatal Error!</title>', "\n"; print '<base href="', $HTTP->{'host_access'}, $HTTP->{'script_path'}, "/\">\n"; # Next line in the hope situation is not too bad |