Revision: 1770
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1770&view=rev
Author:   jberanek
Date:     2011-01-28 21:15:11 +0000 (Fri, 28 Jan 2011)

Log Message:
-----------
* Added error logging into fatal_error(). Patch submitted by 'shallot'
 in SF #2955546.

Modified Paths:
--------------
    mrbs/trunk/web/functions.inc

Modified: mrbs/trunk/web/functions.inc
===================================================================
--- mrbs/trunk/web/functions.inc        2011-01-28 21:07:30 UTC (rev 1769)
+++ mrbs/trunk/web/functions.inc        2011-01-28 21:15:11 UTC (rev 1770)
@@ -531,6 +531,13 @@
   {
     print_header(0, 0, 0, 0, "");
   }
+  error_log("MRBS: ".$message);
+  if (!empty($_GET))
+    error_log("MRBS GET: ".print_r($_GET, true));
+  if (!empty($_POST))
+    error_log("MRBS POST: ".print_r($_POST, true));
+  if (!empty($_SESSION))
+    error_log("MRBS SESSION: ".print_r($_SESSION, true));
   echo "<p>$message</p>";
   require_once "trailer.inc";
   exit;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to