X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=f30af689a2183b9b66dc2b98a7f971231f61ec00;hb=3a37e89b6c987fe6d85561e3b8ee72cfa6ad78cc;hp=9c20af1f3a87874f0cac641953ab63846e08510c;hpb=e115b9ba20f9a2f08dffd806eb8b6ebc77ddb6cf;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 9c20af1..f30af68 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -153,7 +153,7 @@ $mlang_brisk = array( 'btn_backstand'=> array( 'it' => 'torna in piedi', $G_lng = langtolng($G_lang); $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); -$G_brisk_version = "5.6.0"; +$G_brisk_version = "5.6.1"; /* MLANG: ALL THE INFO STRINGS IN brisk.phh */ $root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': dati dai client via web-socket.', @@ -1373,7 +1373,7 @@ class Brisk if ($user_cur->is_active() == FALSE) continue; - if ($user_cur->lacc + EXPIRE_TIME_RD < ($curtime - $delta)) { + if ($user_cur->lacc + (($user_cur->ping_req ? 2 : 1) * EXPIRE_TIME_RD) < ($curtime - $delta)) { // Auto logout dell'utente log_rd2("AUTO LOGOUT.".($user_cur->lacc + EXPIRE_TIME_RD)." curtime - delta ".($curtime - $delta));