X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=dbe0ecae4c8065f1303a19cabe2c2d729de1b363;hb=40b5a7235f7f8b76269b46e198fb7a03e64a86e8;hp=9c20af1f3a87874f0cac641953ab63846e08510c;hpb=e115b9ba20f9a2f08dffd806eb8b6ebc77ddb6cf;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 9c20af1..dbe0eca 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 ? 1.5 : 1.0) * EXPIRE_TIME_RD) < ($curtime - $delta)) { // Auto logout dell'utente log_rd2("AUTO LOGOUT.".($user_cur->lacc + EXPIRE_TIME_RD)." curtime - delta ".($curtime - $delta));