Problem with register_globals=on fixed
This commit is contained in:
parent
6ca1c8a16c
commit
2e950db8fd
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue