diff options
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 |