Problem with register_globals=on fixed

This commit is contained in:
duergner 2003-08-08 13:30:23 +00:00
parent 6ca1c8a16c
commit 2e950db8fd
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ function display_LoginPage($config_object,$profile)
$_SESSION['language'] = $config_object->get_defaultLanguage();
session_register("header");
$language = explode(":",$_SESSION['language']);
$_SESSION['header'] = "<?xml version=\"1.0\" encoding=\"" . $language[1] . "\"?>\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n\n";
$current_language = explode(":",$_SESSION['language']);
$_SESSION['header'] = "<?xml version=\"1.0\" encoding=\"" . $current_language[1] . "\"?>\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n\n";
// loading available languages from language.conf file
$languagefile = "../config/language";