Index: openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl,v diff -u -r1.35.8.6 -r1.35.8.7 --- openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 29 Sep 2013 12:03:22 -0000 1.35.8.6 +++ openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 30 Sep 2013 11:22:00 -0000 1.35.8.7 @@ -498,7 +498,7 @@ # Therefore, we check first for the NaviServer built in ns_http, then # if the optional xotcl-core components are available... # - if {[info command ::ns_http] ne "" && [ns_info patchlevel] > "4.99.5"} { + if {[info commands ::ns_http] ne "" && [ns_info patchlevel] > "4.99.5"} { # # ... use ns_http when we have a version with the "-file" flag ... # @@ -514,7 +514,7 @@ ns_log notice "Transfer $url redirected to $location ..." set url $location } - } elseif {[info command ::xo::HttpRequest] ne ""} { + } elseif {[info commands ::xo::HttpRequest] ne ""} { # # ... use xo::HttpRequest... #