aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
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 /langs.php
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 'langs.php')
-rw-r--r--langs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/langs.php b/langs.php
index 7fc1e2d10..0c858137b 100644
--- a/langs.php
+++ b/langs.php
@@ -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);