add domains to same user account folder structure

Started by martexx, March 02, 2017, 03:52:53 PM

Previous topic - Next topic

martexx

Hi

When adding new domain the default is to use the default public_html folder.

I would suggest to make the folder structure as such:

/home/user/domains/XXX.TLD/public_html/

In that way u have a default and files outside of the webroot still can easily be placed in the right domain folder if belonging to specific domain,
its easy to implement in the function into existing folder creation upon adding domain.