Usually, the path value for each website (a local file path or a URI to a remote location) is directly defined within the websites of each user.
The optional customization described here allows the path value to be omitted from user's websites definition and then provided to Installatron each time (and only when) Installatron Server needs to use the path value.
This can provide a superior level of security since path authentication information can be activated or created only when needed, rather than having it stored permanently in the Installatron Server database.
There are two custom methods involved with this approach: enablePathByWebsite is called to ask for the path, and then disablePathByWebsite is called between 30 minutes and 4 hours after a session's last action.
To use this solution, implement these PHP methods:
-in this file:
Here is an example implementation of these methods in panel.php, to get you started:
With those methods performing their required tasks you are free to leave the path value out of the websites definition for your users.
Don't hesitate to contact Installatron Support if you have questions.