Atumatically expand conf_hide_paths arguments with $sitedir
This commit is contained in:
parent
e77352dafc
commit
492f3b96f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue