Index: trunk/kernel/include/modules.php =================================================================== diff -u -r1194 -r1252 --- trunk/kernel/include/modules.php (.../modules.php) (revision 1194) +++ trunk/kernel/include/modules.php (.../modules.php) (revision 1252) @@ -316,7 +316,7 @@ $env_arr = explode('-', $_GET['env']); $get_session_key = $env_arr[0]; - $admin_login = isset($_POST['adminlogin']) && $_POST['adminlogin']; // $_POST['adminlogin'] != 1 + $admin_login = isset($_POST['adminlogin']) && $_POST['adminlogin']; if(!$objSession->ValidSession() || ($objSession->GetSessionKey() != $get_session_key && !$admin_login)) { if( isset($_GET['expired']) && ($_GET['expired'] == 1) ) $login_error = admin_language("la_text_sess_expired"); @@ -531,7 +531,7 @@ $GLOBALS["g_".$key] = current($vars); next($vars); } - $lic = base64_decode($GLOBALS['g_License']); // this works in all cases + $lic = base64_decode($GLOBALS['g_License']); _ParseLicense($lic); $modules = array(); @@ -873,7 +873,7 @@ } } else - { //echo "Update Session
"; + { if($objSession->Get("Language")!=$m_var_list["lang"]) { $objSession->Set("Language",$m_var_list["lang"]);