aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2010-10-22 08:14:44 +0000
committerRomain d'Alverny <rda@mageia.org>2010-10-22 08:14:44 +0000
commit40c0258381108d04f4e2a91713724849ad78ad3c (patch)
tree6cbd6615a9738191b3b71eec73bed9e94204d3d2 /langs.php
parent6c45f844e892cd54fb2baccd4b4fa9050b2512db (diff)
downloadwww-40c0258381108d04f4e2a91713724849ad78ad3c.tar
www-40c0258381108d04f4e2a91713724849ad78ad3c.tar.gz
www-40c0258381108d04f4e2a91713724849ad78ad3c.tar.bz2
www-40c0258381108d04f4e2a91713724849ad78ad3c.tar.xz
www-40c0258381108d04f4e2a91713724849ad78ad3c.zip
redirect root access after browser lang prefs
Diffstat (limited to 'langs.php')
-rw-r--r--langs.php22
1 files changed, 1 insertions, 21 deletions
diff --git a/langs.php b/langs.php
index 01079e229..30ea07c32 100644
--- a/langs.php
+++ b/langs.php
@@ -2,27 +2,7 @@
/**
*/
-// languages for home
-$langs = array(
- 'de' => 'Deutsch',
- 'el' => 'Ελληνικά',
- 'en' => 'English',
- 'es' => 'Español',
- 'et' => 'Eesti',
- 'fi' => 'Suomeksi',
- 'fr' => 'Français',
- 'it' => 'Italiano',
- 'lv' => 'Latviešu',
- 'nb' => 'Bokmål',
- 'nl' => 'Nederlands',
- 'pl' => 'Polski',
- 'pt-br' => 'Português do Brasil',
- 'ru' => 'Русский',
- 'tr' => 'Türkçe',
- 'sl' => 'Slovenščina',
- 'zh-cn' => '简体中文',
- 'zh-tw' => '正體中文'
-);
+require_once 'langs.inc.php';
$sru = trim($_SERVER['REQUEST_URI']);
$sel = explode('/', $sru);