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:
Uriel 2009-03-14 00:28:34 +01:00
parent 673bdaf664
commit 588c035b3b
3 changed files with 17 additions and 14 deletions

View file

@ -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 {