2009-02-01 12:06:51 -07:00
|
|
|
# To be used from config files
|
|
|
|
fn conf_perm_redirect {
|
|
|
|
if(~ $#* 1)
|
|
|
|
perm_redirect $1
|
|
|
|
if not
|
|
|
|
perm_redir_patterns=($perm_redir_patterns $1 $2)
|
|
|
|
}
|
|
|
|
|
|
|
|
fn conf_hide_paths {
|
|
|
|
for(i in $*)
|
2009-02-04 20:16:14 -07:00
|
|
|
dirfilter=$dirfilter^'/'^`{echo $i|sed 's!/!\\/!g'}^'/d; '
|
2009-02-01 12:06:51 -07:00
|
|
|
}
|