- 7000$ - !!! ! , .
danneo cms user. , . .
mod/user/index.php
( 184-186):
PHP:
@setcookie(USERCOOKIE,$print_cookie,NEWTIME + $setting['cookexpire'],"/");
redirect("index.php?dn=user&to=index");
}
font>
PHP:
redirect("index.php?dn=user&to=index");
font>
:
PHP:
//redirect("index.php?dn=user&to=index");
if (isset($_SERVER['HTTP_REFERRER']))
{
redirect($_SERVER['HTTP_REFERER']);
} else {
redirect("index.php?dn=user&to=index");
}
font>
mod/user/login.php
( 27-29):
PHP:
if(preparse($usermain['logged'],THIS_INT)==1 && preparse($usermain['userid'],THIS_INT)>0){
redirect("index.php?dn=user&to=index");
}
font>
:
PHP:
redirect("index.php?dn=user&to=index");
font>
:
PHP:
//redirect("index.php?dn=user&to=index");
if (isset($_SERVER['HTTP_REFERRER']))
{
redirect($_SERVER['HTTP_REFERER']);
} else {
redirect("index.php?dn=user&to=index");
}
font>
.