4
PeakXoops: XOOPS_TRUST_PATH conceptthe XOOPS_TRUST_PATH is a folder that is not in the documentroot(aka, htdocs or public_html). the use of this folder is to add a bit of security to your files, an increasing amount of modules are using this concept.
define('XOOPS_TRUST_PATH','absolute path to a folder out of documentroot');
in versions of XOOPS 2.3+ the XOOPS_TRUST_PATH is the same as the XOOPS_PATH constant, but in 2.3+ a folder is supplied with some files needed for the included modules package.
From 2.3x:
// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define( 'XOOPS_PATH', 'absolute path to the xoops_lib folder' );
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define( 'XOOPS_VAR_PATH', 'absolute path to the xoops_data folder' );
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH", XOOPS_PATH);
the xoops_data folder is the 'XOOPS_VAR_PATH' constant
the xoops_lib folder is the 'XOOPS_PATH' constant
the 'XOOPS_PATH' and 'XOOPS_TRUST_PATH' are the same thing.