X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=d89a0913c12e6da7dbb765795cd110ee896994c1;hb=bd4ee6dd7696eeb5b0f8d7c7dc0cd9c840843146;hp=6c7b5b2c0538e0e432a74c8ddc85a35f48563c8f;hpb=7379a6c57be3c4ced0871d429bc1de1d6e2a91f8;p=brisk.git diff --git a/web/index.php b/web/index.php index 6c7b5b2..d89a091 100644 --- a/web/index.php +++ b/web/index.php @@ -44,7 +44,7 @@ $mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati 'en' => 'enter'), 'passwarn' => array('it' => 'Se non hai ancora una password, lascia il campo in bianco ed entra.', 'en' => 'If you don\'t have a password, leave blank the field and enter.'), - 'browwarn' => array('it' => '(se qualcosa non funziona
prova a ricaricare la pagina con Ctrl + F5)', + 'browwarn' => array('it' => 'Se qualcosa non funziona prova a ricaricare la pagina con Ctrl + F5

Se non riesci più ad entrare nel nuovo Brisk e prima ci riuscivi potrebbe essere un problema di antivirus,
guarda la pagina sugli antivirus per maggiori informazioni su come configurarlo.

Se ancora non funziona nulla contatta l\'amministratore del sito.', 'en' => '(if something don\'t work
try to reload the current page with Ctrl + F5)'), 'regwarn' => array('it' => '
Il nickname che stai usando è già registrato,

se il suo proprietario si autentificherà

verrai rinominato d\'ufficio come ghostN.', 'en' => '
The nickname you are using it\'s already registered,

if its proprietary authenticates

you will named ghostN.'), @@ -283,13 +283,8 @@ function index_main(&$room, $transp_type, &$header_out, $addr, $get, $post, $coo $room->garbage_manager(TRUE); /* try login */ - $ipv4addr_arr = explode(':' , $addr); - if (isset($ipv4addr_arr[3])) { - $ipv4addr = $ipv4addr_arr[3]; - } - else { - $ipv4addr = $addr; - } + + $ipv4addr = addrtoipv4($addr); if (($user = $room->add_user(&$sess, &$idx, $name, $pass_private, $ipv4addr, $cookie)) != FALSE) { $ACTION = "room"; if ($idx < 0) {