aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
blob: e10f5d0be69b968ab8dfd7af9ede7ba4972af0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
*/

require_once 'langs.inc.php';
require_once 'localeDetection.class.php';

$locale = new ChooseLocale(array_keys($langs));

$locale->setDefaultLocale('en');

header(sprintf('Location: /%s/', $locale->getCompatibleLocale()));