Index: openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl,v diff -u -N -r1.140.2.60 -r1.140.2.61 --- openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 1 Mar 2017 13:59:52 -0000 1.140.2.60 +++ openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 4 Mar 2017 10:57:08 -0000 1.140.2.61 @@ -167,9 +167,9 @@ set passed_check_p 0 # check to make sure path is to an authorized directory - set tmpdir_list [ad_parameter_all_values_as_list TmpDir] + set tmpdir_list [ad_parameter_all_values_as_list -package_id [ad_conn subsite_id] TmpDir] if { $tmpdir_list eq "" } { - set tmpdir_list [list "/var/tmp" "/tmp"] + set tmpdir_list [list [ns_config ns/parameters tmpdir] "/var/tmp" "/tmp"] } foreach tmpdir $tmpdir_list {