2
the referer check was causing me to have strange behavior....
I solved that problem and maintained referer checking by replacing the function xoops_refcheck ($docheck=1) with the following implementation:
function xoops_refcheck ($docheck=1)
{
$ref = xoops_getenv('HTTP_REFERER');
if ($docheck == 0)
{
return true;
}
$secureUrl = str_replace ('http:', 'https:', XOOPS_URL);
if ($ref == '' || (strpos($ref, XOOPS_URL) !== 0 && strpos($ref, $secureUrl) !== 0))
{
return false;
}
return true;
}
I'm happy now and have selected https support based on my custom menus...