diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-03-31 10:04:15 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-03-31 10:04:15 +0000 |
commit | 351ef244932aa1bb63b3092ef4c57f556956d7a4 (patch) | |
tree | 38f9a8785be7b7f6d846b783bbe1cc66396cdc7a /index.php | |
parent | 32c1555f69912b0572e0e1da0b3051475c3a25a3 (diff) | |
download | www-351ef244932aa1bb63b3092ef4c57f556956d7a4.tar www-351ef244932aa1bb63b3092ef4c57f556956d7a4.tar.gz www-351ef244932aa1bb63b3092ef4c57f556956d7a4.tar.bz2 www-351ef244932aa1bb63b3092ef4c57f556956d7a4.tar.xz www-351ef244932aa1bb63b3092ef4c57f556956d7a4.zip |
lang redirection changes
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,5 +1,6 @@ <?php /** + * */ require_once 'langs.inc.php'; @@ -22,11 +23,4 @@ if (isset($_GET['flang'])) die; } -require_once 'localeDetection.class.php'; - -$locale = new ChooseLocale(array_keys($langs)); - -$locale->setDefaultLocale('en'); - -header(sprintf('Location: /%s/', $locale->getCompatibleLocale())); -die;
\ No newline at end of file +relocate($langs);
\ No newline at end of file |