Index: openacs-4/tcl/0-acs-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/tcl/0-acs-init.tcl,v diff -u -r1.9 -r1.10 --- openacs-4/tcl/0-acs-init.tcl 15 Oct 2018 16:52:00 -0000 1.9 +++ openacs-4/tcl/0-acs-init.tcl 3 Sep 2024 15:38:00 -0000 1.10 @@ -35,7 +35,7 @@ set ::acs::pageroot [expr {$::acs::useNaviServer ? [ns_server pagedir] : [ns_info pageroot]}] set ::acs::tcllib [expr {$::acs::useNaviServer ? [ns_server tcllib] : [ns_info tcllib]}] set ::acs::rootdir [file dirname [string trimright $::acs::tcllib "/"]] - set ::acs::useNsfProc [expr {[info commands ::nsf::proc] ne ""}] + set ::acs::useNsfProc [expr {[namespace which ::nsf::proc] ne ""}] } # Determine the OpenACS root directory, which is the directory right above the @@ -53,7 +53,7 @@ # Check that the appropriate version of tDom (http://www.tdom.org) # is installed and spit out a comment or try to install it if not. # - if {[info commands domNode] eq ""} { + if {[namespace which domNode] eq ""} { if {[ns_info version] < 4} { ns_log Error "0-acs-init.tcl: domNode command not found -- libtdom.so not loaded?" } elseif {[ns_info version] >= 4} {