21
hmm, no edit function? ok then ;)
i fixed it this way (xoops 2.2.2):
in class/xoopssecurity.php
Quote:
where i typed 'myip' i have my ip ;)
so, what does it do? it gets the referer url and checks if the host of this url is 'myip'
that's all
hope it'll help so.
greetz
i fixed it this way (xoops 2.2.2):
in class/xoopssecurity.php
Quote:
function checkReferer($docheck=1)
{
if ($docheck == 0) {
return true;
}
$ref = $_SERVER['HTTP_REFERER'];
if ($ref == '') {
return false;
}
$pref = parse_url($ref);
if ( $pref['host'] != "myip" ) {
return false;
}
return true;
}
where i typed 'myip' i have my ip ;)
so, what does it do? it gets the referer url and checks if the host of this url is 'myip'
that's all
hope it'll help so.
greetz