Rewrite redirect handling code with nested lists.
New ll_addh to add items to the head of a nested list (use with care!).
This commit is contained in:
parent
673bdaf664
commit
588c035b3b
3 changed files with 17 additions and 14 deletions
|
|
@ -3,7 +3,7 @@ fn conf_perm_redirect {
|
|||
if(~ $#* 1)
|
||||
perm_redir_to=$1
|
||||
if not
|
||||
perm_redir_patterns=($1 $2 $perm_redir_patterns)
|
||||
ll_addh perm_redir_patterns $1 $2
|
||||
}
|
||||
|
||||
fn conf_hide_paths {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue