if {[acs_user::site_wide_admin_p]} { ::learning_content::Package initialize set l [expr {[lsearch -exact [ns_conn urlv] admin] + 1 }] set path [join [lrange [ns_conn urlv] $l end] /] rp_internal_redirect /packages/xowiki/www/admin/$path } else { set package_url [ad_conn package_url] ad_returnredirect "${package_url}content-admin" }