2
See
this link, theres a manual!
The second thing, look at your mainfile.php, the first looks like this, user must be your accountname on server:
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', '/srv/www/htdocs/user/wwwroot');
define('XOOPS_ROOT_PATH', '/srv/www/htdocs/user/wwwroot');
define('XOOPS_TRUST_PATH', '/srv/www/htdocs/user/wwwroot/trust');
Now the second entry:
if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") {
include XOOPS_ROOT_PATH."/include/common.php";
}
}
?>
After you have fit the mainfile.php looks like this
include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
include XOOPS_ROOT_PATH."/include/common.php";
}
include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;
}
?>
Thats all! Try it on a non productive installation!
andy