Reorg code in five source files: werc.rc, cgilib.rc, corehandlers.rc, wercconf.rc and werclib.rc.
This commit is contained in:
parent
eb190a1a0b
commit
e084b89cae
5 changed files with 276 additions and 274 deletions
12
bin/wercconf.rc
Normal file
12
bin/wercconf.rc
Normal 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; '
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue