Originally Posted by t.roijers
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.
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
on the shell. Any errors?