Changeset 201 for trunk/DNSDB.pm
- Timestamp:
- 12/13/11 18:05:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r200 r201 126 126 # Other miscellanea 127 127 log_failures => 1, # log all evarthing by default 128 perpage => 15, 128 129 ); 129 130 … … 208 209 $def{contact} = $1 if /^contact\s*=\s*([a-z0-9_.-]+)/i; 209 210 $def{prins} = $1 if /^prins\s*=\s*([a-z0-9_.-]+)/i; 210 $def{soattl} = $1 if /^soattl\s*=\s*( [a-z0-9_.-]+)/i;211 $def{refresh} = $1 if /^refresh\s*=\s*( [a-z0-9_.-]+)/i;212 $def{retry} = $1 if /^retry\s*=\s*( [a-z0-9_.-]+)/i;213 $def{expire} = $1 if /^expire\s*=\s*( [a-z0-9_.-]+)/i;214 $def{minttl} = $1 if /^minttl\s*=\s*( [a-z0-9_.-]+)/i;215 $def{ttl} = $1 if /^ttl\s*=\s*( [a-z0-9_.-]+)/i;211 $def{soattl} = $1 if /^soattl\s*=\s*(\d+)/i; 212 $def{refresh} = $1 if /^refresh\s*=\s*(\d+)/i; 213 $def{retry} = $1 if /^retry\s*=\s*(\d+)/i; 214 $def{expire} = $1 if /^expire\s*=\s*(\d+)/i; 215 $def{minttl} = $1 if /^minttl\s*=\s*(\d+)/i; 216 $def{ttl} = $1 if /^ttl\s*=\s*(\d+)/i; 216 217 # Mail settings 217 218 $config{mailhost} = $1 if /^mailhost\s*=\s*([a-z0-9_.-]+)/i; … … 223 224 # session - note this is fed directly to CGI::Session 224 225 $config{timeout} = $1 if /^[tT][iI][mM][eE][oO][uU][tT]\s*=\s*(\d+[smhdwMy]?)/; 225 # log failed actions226 # misc 226 227 $config{log_failures} = $1 if /^log_failures\s*=\s*([a-z01]+)/i; 228 $config{perpage} = $1 if /^perpage\s*=\s*(\d+)/i; 227 229 } 228 230 close CFG;
Note:
See TracChangeset
for help on using the changeset viewer.