1
I am creating SEF engine for XOOPS 2.0.13.1. That forced me to change some core files.
File include/common.php, line 224
$url_arr = explode('/',strstr($_SERVER['PHP_SELF'],'/modules/'));
was
$url_arr = explode('/',strstr($xoopsRequestUri,'/modules/'));
If we request a module from XOOPS root and not from /modules/ folder (e.g. by mod_rewrite), $xoopsRequestUri contains only XOOPS root path.
Is it good?