diff options
author | Filip Komar <filip@mageia.org> | 2013-06-11 19:28:55 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2013-06-11 19:28:55 +0000 |
commit | fd0da7032c9bbdc06e4cd659b522a0914730910c (patch) | |
tree | 243ae8a99b5774e63bbb62743c0ec90e9834fd56 | |
parent | ed7809435baed67e847d99f1518e79485d451a8b (diff) | |
download | www-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar www-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar.gz www-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar.bz2 www-fd0da7032c9bbdc06e4cd659b522a0914730910c.tar.xz www-fd0da7032c9bbdc06e4cd659b522a0914730910c.zip |
proper name for enviroment variable
-rw-r--r-- | en/downloads/get/index.php | 2 | ||||
-rw-r--r-- | langs.php | 2 |
2 files changed, 2 insertions, 2 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; } @@ -2,7 +2,7 @@ /** */ -if (isset($_ENV['APP_MODE']) && $_ENV['APP_MODE'] !== 'prod') { +if (isset($_SERVER['APP_MODE']) && $_SERVER['APP_MODE'] !== 'prod') { ini_set('error_reporting', E_ALL); ini_set('show_errors', true); ini_set('display_errors', true); |