Reorg code in five source files: werc.rc, cgilib.rc, corehandlers.rc, wercconf.rc and werclib.rc.

This commit is contained in:
Uriel 2009-02-01 20:06:51 +01:00
parent eb190a1a0b
commit e084b89cae
5 changed files with 276 additions and 274 deletions

12
bin/wercconf.rc Normal file
View file

@ -0,0 +1,12 @@
# 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 $*)
dirfilter=$dirfilter^'/^'$i'$/d; '
}