PDA

View Full Version : default directories created


bigger_travis
6th March 2008, 07:43
hello,

i have Version: 2.2.19 successfully installed.

i see that everytime a new account is reated the default directories are created:

cgi-bin
log
mail
phptmp
user
web

and under web, these are created
error
stats

my question is, which how can i add my own (another) directory along with the defaults?

for example, i want a directory called "images" with 777 permission created when a new account is created. is that possible?

thanks for all your great help.

great script.

till
6th March 2008, 10:49
To create custom directories, you will have to modify the file /root/ispconfig/scripts/lib/config.lib.php and add your code to the function make_docroot.

bigger_travis
6th March 2008, 20:53
thank you for your help. i was able to do what i wanted with your help