HomeDocumentationManualFAQInstallation › Installation of the XOOPS Cube module version

Installation of the XOOPS Cube module version

What is XOOPS_TRUST_PATH?
XOOPS_TRUST_PATH is an absolute path to a directory outside the web document root. Because the files and directories placed under XOOPS_TRUST_PATH can not be accessed directly by the web browser, it provides better security over placing all files under XOOPS_ROOT_PATH. There are now several modules that need files to be uploaded to XOOPS_TRUST_PATH before install.
How do I setup XOOPS_TRUST_PATH?
Add the following line to mainfile.php:
define('XOOPS_TRUST_PATH', 'put absolute path to a directory outside the web document root here');
Note that XOOPS Cube Legacy 2.1 or above already has the following line written in mainfile.php:
define('XOOPS_TRUST_PATH', '');
That't it! Also, it is recommended that you create both "modules" and "PEAR" directories under the defined path.
‹ Installation of the standal... Up