1
Hi all,
just looking for some advice hope this is the right place to post.
I have upgraded from 2.0.9.3 to 2.0.10
and of course the http referer that i have disabled with this hack (cause no one can login to site otherwise)is back to the default XOOPS setting.
in includes/functions.php
function xoops_refcheck($docheck=1)
{
return true;#*#DISABLE_REFERER_CHECK#
$ref = xoops_getenv('HTTP_REFERER');
if ($docheck == 0) {
return true;
}
if ($ref == '') {
return false;
}
if (strpos($ref, XOOPS_URL) !== 0 ) {
return false;
}
Is this still nesscesary or has the 2.0.10 got a new way to deal with this?
any helpful advice appreciated.
cheers
gecko