aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-06-11 19:28:55 +0000
committerFilip Komar <filip@mageia.org>2013-06-11 19:28:55 +0000
commitfd0da7032c9bbdc06e4cd659b522a0914730910c (patch)
tree243ae8a99b5774e63bbb62743c0ec90e9834fd56 /en
parented7809435baed67e847d99f1518e79485d451a8b (diff)
downloadwww-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar
www-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar.gz
www-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar.bz2
www-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar.xz
www-fd0da7032c9bbdc06e4cd659b522a0914730910c.zip
proper name for enviroment variable
Diffstat (limited to 'en')
-rw-r--r--en/downloads/get/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
index 5d8915b38..c81894ac0 100644
--- a/en/downloads/get/index.php
+++ b/en/downloads/get/index.php
@@ -162,7 +162,7 @@ if ($debug)
<meta name="robots" content="noindex,nofollow,nosnippet">
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
<?php
-if (!isset($_ENV['APP_MODE']) || $_ENV['APP_MODE'] == 'prod') {
+if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') {
include '../../../analytics.php';
echo $js_redirect;
}