Index: openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl,v diff -u -r1.36.2.33 -r1.36.2.34 --- openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 24 Feb 2017 18:23:39 -0000 1.36.2.33 +++ openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 4 Mar 2017 10:57:08 -0000 1.36.2.34 @@ -1749,7 +1749,7 @@ # check to make sure path is to an authorized directory 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" [ns_config ns/parameters tmpdir]] + set tmpdir_list [list [ns_config ns/parameters tmpdir] "/var/tmp" "/tmp"] } foreach tmpdir $tmpdir_list {