diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-04-23 12:24:08 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-04-23 12:24:08 +0200 |
commit | 22ef1e32c51ac82df8d6a03e1e95876100e8f6c1 (patch) | |
tree | f7a7b546711a8e243b2ebf139b4ea62867c74b47 /lib/plugins | |
parent | 8a803cae76e430dc0f358986db3420ef45049370 (diff) | |
download | rpg-22ef1e32c51ac82df8d6a03e1e95876100e8f6c1.tar.gz rpg-22ef1e32c51ac82df8d6a03e1e95876100e8f6c1.tar.bz2 |
added option to disable reverse DNS lookups
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/config/lang/en/lang.php | 3 | ||||
-rw-r--r-- | lib/plugins/config/settings/config.metadata.php | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/plugins/config/lang/en/lang.php b/lib/plugins/config/lang/en/lang.php index d588e02f8..83c843b3a 100644 --- a/lib/plugins/config/lang/en/lang.php +++ b/lib/plugins/config/lang/en/lang.php @@ -177,6 +177,9 @@ $lang['renderer_xhtml'] = 'Renderer to use for main (xhtml) wiki output'; $lang['renderer__core'] = '%s (dokuwiki core)'; $lang['renderer__plugin'] = '%s (plugin)'; +/* Network Options */ +$lang['dnslookups'] = 'DokuWiki will lookup hostnames for remote IP addresses of users editing pages. If you have a slow or non working DNS server or don\'t want this feature, disable this option'; + /* Proxy Options */ $lang['proxy____host'] = 'Proxy servername'; $lang['proxy____port'] = 'Proxy port'; diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php index 997495b2e..3607f56c6 100644 --- a/lib/plugins/config/settings/config.metadata.php +++ b/lib/plugins/config/settings/config.metadata.php @@ -207,6 +207,7 @@ $meta['renderer_xhtml'] = array('renderer','_format' => 'xhtml','_choices' => ar $meta['readdircache'] = array('numeric'); $meta['_network'] = array('fieldset'); +$meta['dnslookups'] = array('onoff'); $meta['proxy____host'] = array('string','_pattern' => '#^(|[a-z0-9\-\.+]+)$#i'); $meta['proxy____port'] = array('numericopt'); $meta['proxy____user'] = array('string'); |