Copy file in public_html folder when adding a domain
Posted: Fri Jul 12, 2019 7:40 pm
Hello,
Let's say I have a file.php in the /home/file.php directory and I want this file to be copied to /home/user/domain/public_html/ every time I add a domain to vestacp.
How could I do that?
I want it to install my script without having to upload the file to the directory every time I add a new domain.
Thank you
Let's say I have a file.php in the /home/file.php directory and I want this file to be copied to /home/user/domain/public_html/ every time I add a domain to vestacp.
How could I do that?
I want it to install my script without having to upload the file to the directory every time I add a new domain.
Thank you