[Aminet-commit] r139 - trunk/phpinclude/include

aminet-discuss at aminet.net aminet-discuss at aminet.net
Sun Nov 9 22:48:48 CET 2008


Author: mendoza
Date: 2008-11-09 13:48:47 -0800 (Sun, 09 Nov 2008)
New Revision: 139

Modified:
   trunk/phpinclude/include/main.php
Log:
Allow debug if GET parameter debug is set

Modified: trunk/phpinclude/include/main.php
===================================================================
--- trunk/phpinclude/include/main.php	2008-11-09 18:29:02 UTC (rev 138)
+++ trunk/phpinclude/include/main.php	2008-11-09 21:48:47 UTC (rev 139)
@@ -63,7 +63,7 @@
 include "footer.php";
 
 function sql_query($query,$debug=0) {
-  global $amirepo_root;
+  global $amirepo_root, $_GET;
   $oldtime = time();
   $res = mysql_query($query);
   if (isset($_GET['debug'])) {




More information about the Aminet-commit mailing list