Hi, I am looking into which file insert Web pre-installed PHP Scripts. I saw that for ispconfig2 I must "act" in .../ispconfig/scripts/lib/config.lib.php (and add something like this exec("cp -R /var/www/template/* /var/www/$web_path"); ) I have not found for IspConfig3. Thank you for your help. Laurent.
Please see here for an example: http://www.howtoforge.com/forums/showthread.php?t=63036 in your case, you create a plugin that listens to the web_domain_insert event instead of the shell user event.
Hi Till, Thank you very much for your help. I now understand how. Is there a place to post my work if someone tries to make something Alike?
It would be nice if you could post it in the addons forum: http://www.howtoforge.com/forums/forumdisplay.php?f=34
Hi Till, I will as soon as soon as I would have succeeded. I have to debug my script, it break Ispconfig Site creation...