Skip to content

Commit

Permalink
- added victor's patch to omit deprecated messages of "ns_info tcllib…
Browse files Browse the repository at this point in the history
…". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.
  • Loading branch information
gustafn committed Apr 12, 2013
1 parent c4014ef commit 5cc3bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/asm-admin/view/index.vuh
Expand Up @@ -8,7 +8,7 @@ ad_page_contract {
}

# Get the paths
set the_root [ns_info pageroot]
set the_root $::acs::pageroot
set package_id [ad_conn package_id]

# Get the IDs
Expand Down
2 changes: 1 addition & 1 deletion www/view/index.vuh
Expand Up @@ -8,7 +8,7 @@ ad_page_contract {
}

# Get the paths
set the_root [ns_info pageroot]
set the_root $::acs::pageroot
set package_id [ad_conn package_id]

# Get the IDs
Expand Down

0 comments on commit 5cc3bfd

Please sign in to comment.