View Single Post
Old 16th August 2005, 18:35
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Originally Posted by ajajaj
We want to offer some PHP scripts pre-installed for selected customers, how do we have them get added when a new client is installed?

for example, I want to install a directory called admin somewhere /root/ispconfig/isp/admin ??? and have it's contents copied to the web/admin folder of a new site.

kinda like /etc/skel gets copied for new users in a standard debian system...

hrm - could we use /etc/skel? will that work for the web#_username users?
You can customize /root/ispconfig/scripts/lib/config.lib.php (function web_insert()) to achieve this.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote