diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-05-27 14:25:04 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-05-27 14:25:04 +0000 |
commit | e78ec2fea07e1da8c3d32f41ccafbecc5d0262da (patch) | |
tree | 79e05ac2a5550cf784d5b6a214566abb82af8918 /index.php | |
parent | 7eee78c16386f0a7aef275a6933c893028dd34f8 (diff) | |
download | www-e78ec2fea07e1da8c3d32f41ccafbecc5d0262da.tar www-e78ec2fea07e1da8c3d32f41ccafbecc5d0262da.tar.gz www-e78ec2fea07e1da8c3d32f41ccafbecc5d0262da.tar.bz2 www-e78ec2fea07e1da8c3d32f41ccafbecc5d0262da.tar.xz www-e78ec2fea07e1da8c3d32f41ccafbecc5d0262da.zip |
special query to list available locales
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,8 @@ require_once 'langs.inc.php'; +if (isset($_GET['langs'])) { die(show_langs($langs)); } + if (isset($_GET['flang'])) { $lang = array_key_exists($_GET['flang'], $langs) ? $_GET['flang'] : 'en'; |