[Fusionforge-commits] r10274 - trunk/src/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Jul 20 16:58:19 CEST 2010


Author: lolando
Date: 2010-07-20 16:58:19 +0200 (Tue, 20 Jul 2010)
New Revision: 10274

Modified:
   trunk/src/common/include/extras-debug.php
Log:
Only do HTML validation and JS stuff when on the web

Modified: trunk/src/common/include/extras-debug.php
===================================================================
--- trunk/src/common/include/extras-debug.php	2010-07-20 13:30:28 UTC (rev 10273)
+++ trunk/src/common/include/extras-debug.php	2010-07-20 14:58:19 UTC (rev 10274)
@@ -58,6 +58,10 @@
 function ffOutputHandler($buffer) {
 	global $ffErrors, $gfcommon;
 
+	if (! getenv ('SERVER_SOFTWARE')) {
+		return $buffer ;
+	}
+
 	/* stop calling ffErrorHandler */
 	restore_error_handler();
 




More information about the Fusionforge-commits mailing list