Re: Impresscms Trust_Path Permissions? chmod owner & group...
Posted by Will on 1204892495
require '../../mainfile.php' is not dynamic. This string forces the script to look in the document root.
it would need to match your location.
in the case that you position your mainfile.php in your subroot
require '../mainfile.php'
in the case that your mainfile is in your trust_path
require XOOPS_TRUST_PATH '/mainfile.php'
etc., etc.
I am sure that GiJoe would encourage moving tha mainfile into the XOOPS_TRUST_PATH.
This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=1053&post_id=10918