diff options
-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); |