Home
last modified time | relevance | path

Searched +full:realip -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 5 of 5) sorted by relevance

/dokuwiki/_test/tests/inc/
H A Dcommon_clientip.test.php88 * @param string $realIp The X-Real-IP header.
95 …public function test_client_ip_v4(string $remoteAddr, bool $useRealIp, string $realIp, string $for… argument
107 …R['HTTP_X_REAL_IP'] = str_replace(array_keys($addresses), array_values($addresses), $realIp);
109 $conf['realip'] = $useRealIp;
124 * @param string $realIp The X-Real-IP header.
131 …public function test_client_ip_v6(string $remoteAddr, bool $useRealIp, string $realIp, string $for… argument
143 …R['HTTP_X_REAL_IP'] = str_replace(array_keys($addresses), array_values($addresses), $realIp);
145 $conf['realip'] = $useRealIp;
/dokuwiki/inc/
H A DIp.php221 * - The X-Real-IP header if $conf[realip] is true.
226 * The 'realip' config value should only be set to true if the X-Real-IP header
244 * - The X-Real-IP header if $conf[realip] is true.
260 if (!empty($conf['realip']) && $INPUT->server->str('HTTP_X_REAL_IP')) {
H A Dcommon.php778 * - The X-Real-IP header if $conf[realip] is true.
783 * The 'realip' config value should only be set to true if the X-Real-IP header
/dokuwiki/conf/
H A Ddokuwiki.php177 $conf['realip'] = false; // Enable reading the X-Real-IP header. Default: false.
/dokuwiki/lib/plugins/config/settings/
H A Dconfig.metadata.php259 $meta['realip'] = ['onoff', '_caution' => 'security'];