View Single Post
  #9  
Old 2nd August 2006, 12:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by t.roijers
Hello Falko,

Inserted this in the script, created a new website, but the copy command below doesn't copy the files from /var/www/template to the new website.

any suggestions?

Thanx,
Tim


Quote:
Insert this at line 72:
exec("cp -R /var/www/template/* /var/www/$web_path");
Maybe it's a better idea to insert that line in the make_docroot() function. For debugging purposes, you can kill the ispconfig_wconf daemon, create a web site, and then you run
Code:
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
on the shell. Any errors?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

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