Index: openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl,v diff -u -N -r1.9 -r1.10 --- openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl 8 Dec 2012 18:20:36 -0000 1.9 +++ openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl 12 Apr 2013 16:12:56 -0000 1.10 @@ -12,8 +12,8 @@ Get the page root. All items will be published to the filesystem with their URLs relative to this root. The page root is controlled by the PageRoot parameter in CMS. - A relative path is relative to [ns_info pageroot] - The default is [ns_info pageroot] + A relative path is relative to $::acs::pageroot + The default is $::acs::pageroot @return The page root @@ -27,7 +27,7 @@ if { [string index $root_path 0] ne "/" } { # Relative path, prepend server_root - set root_path "[ns_info pageroot]/$root_path" + set root_path "$::acs::pageroot/$root_path" } return [ns_normalizepath $root_path]