Index: openacs-4/packages/cms/tcl/install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/tcl/install-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/cms/tcl/install-procs.tcl 6 Jun 2005 15:34:55 -0000 1.1.2.1 +++ openacs-4/packages/cms/tcl/install-procs.tcl 9 Jun 2005 21:15:26 -0000 1.1.2.2 @@ -10,15 +10,18 @@ # create modules for new instance cm::modules::install::create_modules -package_id $package_id - set subsite_dir "/www" + set subsite_id [ad_conn subsite_id] + db_dml map_subsite {} + + set subsite_dir "[acs_root_dir]/www" append subsite_dir [site_node::get_url_from_object_id -object_id [ad_conn subsite_id]] # check that directory exists and... if { ![file exists $subsite_dir] } { file mkdir $subsite_dir } # copy content delivery .vuh file to subsite root - file copy -force /packages/cms/www/index.vuh $subsite_dir + file copy -force [acs_root_dir]/packages/cms/www/index.vuh $subsite_dir }