2003-07-18 21:38:51 +00:00
|
|
|
<?php
|
2003-08-13 22:10:07 +00:00
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once('../inc/forum.inc');
|
|
|
|
require_once('../inc/util.inc');
|
2003-07-18 21:38:51 +00:00
|
|
|
|
|
|
|
if (array_key_exists('id', $_GET) && $_GET['id'] > 0) {
|
|
|
|
$lang = getLanguage($_GET['id']);
|
|
|
|
$_SESSION['lang']['id'] = $lang->langID;
|
|
|
|
$_SESSION['lang']['charset'] = $lang->charset;
|
|
|
|
}
|
|
|
|
|
|
|
|
header('Location: http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PATH_INFO'], 0, strrpos($_SERVER['PATH_INFO'], '/')).'/index.php');
|
2004-02-02 23:34:39 +00:00
|
|
|
?>
|