[art-web] [download] check against the correct variable



commit adc99871fed5689d3b8860dbf567fdf6bcb0e124
Author: Thomas Wood <thos gnome org>
Date:   Sat Oct 31 23:09:56 2009 +0000

    [download] check against the correct variable

 download |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/download b/download
index 9159be9..15e247d 100644
--- a/download
+++ b/download
@@ -4,7 +4,7 @@ require("mysql.inc.php");
 require("common.inc.php");
 
 // superglobal stuff
-if (array_key_exists ('PATH_INFO', $request))
+if (array_key_exists ('PATH_INFO', $_SERVER))
   $request = $_SERVER['PATH_INFO'];
 else
   $request = '';



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]