Atumatically expand conf_hide_paths arguments with $sitedir

This commit is contained in:
Uriel 2009-02-21 00:04:48 +00:00
parent e77352dafc
commit 492f3b96f1

View file

@ -10,7 +10,7 @@ fn conf_perm_redirect {
fn conf_hide_paths {
for(i in $*)
dirfilter=$dirfilter^'/'^`{echo $i|sed 's!/!\\/!g'}^'/d; '
dirfilter=$dirfilter^'/'^`{echo $sitedir'/'$i|sed 's!/+!\\/!g'}^'/d; '
}
# Usually will be called from within conf_enable_foo