diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-03 11:52:31 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-03 11:52:31 +1100 |
| commit | dbe330298729cdaa9c07e72e8778daad0a87e1c3 (patch) | |
| tree | fffb87c4c36dd1052d361d2bda25e32d88aa4d41 /inc/config.php | |
| parent | 3979d9a7406976c0492cdc4c04dca06bfcde73aa (diff) | |
Avoid DNS timeouts by using `host` and cache if available
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index a2e5b8ae..e18f329f 100644 --- a/inc/config.php +++ b/inc/config.php @@ -75,6 +75,10 @@ // Use syslog() for logging all error messages and unauthorized login attempts. $config['syslog'] = false; + // Use `host` via shell_exec() to lookup hostnames, avoiding query timeouts. May not work on your system. + // Requires safe_mode to be disabled. + $config['dns_system'] = false; + /* * ==================== * Database settings |
