Displaying 1 result from an estimated 1 matches for "extracted_url_path".
2012 Oct 02
4
Removing intermediate variables in calculation
...s nexus::config(
...
$baseurl,
$webapp_context_path = ''/''
) {
if ($webapp_context_path != '''')
{
$int_webapp_context_path = $webapp_context_path
notify{"using webapp_context_path \"${webapp_context_path}\"":}
}
else
{
$extracted_url_path = regsubst($baseurl, ''^https?://[^/]+(/.*)'', ''\1'')
if ($extracted_url_path)
{
$int_webapp_context_path = $extracted_url_path
}
else
{
# in case we were given a $baseurl without the tailing "/"
$int_webapp_context_pa...