2
in "yourXoops/admin.php"
if (strpos(XOOPS_PATH . '/', XOOPS_ROOT_PATH . '/') !== false || strpos(XOOPS_PATH . '/', $_SERVER['DOCUMENT_ROOT'] . '/') !== false) {
xoops_error(sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_PATH));
echo '
';
}
if (strpos(XOOPS_VAR_PATH . '/', XOOPS_ROOT_PATH . '/') !== false || strpos(XOOPS_VAR_PATH . '/', $_SERVER['DOCUMENT_ROOT'] . '/') !== false) {
xoops_error(sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_VAR_PATH));
echo '
';
}
and the text variables are in "yourXoops/language/english/admin.php"
efine('_AD_WARNINGNOTWRITEABLE','WARNING: Folder %s is not writeable by the server.
Please change the permission of this folder.
in Unix (777), in Win32 (writable)');
define('_AD_WARNINGXOOPSLIBINSIDE','WARNING: Folder %s is inside DocumentRoot!
For security considerations it is highly suggested to move it out of DocumentRoot.');
the xoops_error function which creates the html output is in:
"include/functions.php"