[art-web] [download] check against the correct variable
- From: Thomas Wood <thos src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [art-web] [download] check against the correct variable
- Date: Sat, 31 Oct 2009 23:08:38 +0000 (UTC)
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]