Index: openacs-4/packages/acs-core-docs/www/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/index.vuh,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-core-docs/www/index.vuh 24 Sep 2002 00:14:42 -0000 1.2 +++ openacs-4/packages/acs-core-docs/www/index.vuh 27 Oct 2014 16:39:19 -0000 1.3 @@ -8,9 +8,9 @@ set path_tail \ "doc[string range [ad_conn path_info] [string length $package_key] end]" -if {![string compare [ad_conn path_info] "index.html"]} { +if {[ad_conn path_info] eq "index.html" } { rp_internal_redirect "/packages/acs-core-docs/www/index.adp" -} elseif {[file isdirectory "[acs_root_dir]/packages/$package_key/www/doc"]} { +} elseif {[file isdirectory "$::acs::rootdir/packages/$package_key/www/doc"]} { rp_internal_redirect "/packages/$package_key/www/$path_tail" } else { rp_internal_redirect "/packages/$package_key/$path_tail"