aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-05-27 14:25:04 +0000
committerRomain d'Alverny <rda@mageia.org>2011-05-27 14:25:04 +0000
commite78ec2fea07e1da8c3d32f41ccafbecc5d0262da (patch)
tree79e05ac2a5550cf784d5b6a214566abb82af8918 /index.php
parent7eee78c16386f0a7aef275a6933c893028dd34f8 (diff)
downloadwww-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.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 9dfedcb3e..4fd47cace 100644
--- a/index.php
+++ b/index.php
@@ -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';