Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F581506
IsTrustedProxyHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
639 B
Referenced Files
None
Subscribers
None
IsTrustedProxyHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "IsTrustedProxy" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
IsTrustedProxyHook
{
/**
* Use this hook to override the result of ProxyLookup::isTrustedProxy().
*
* @since 1.35
*
* @param string $ip IP being checked
* @param bool &$result Change this value to override the result of ProxyLookup::isTrustedProxy()
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onIsTrustedProxy
(
$ip
,
&
$result
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Mar 31, 07:41 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f5/20/8611a98d295a2a342e4f9c9e8e3c
Default Alt Text
IsTrustedProxyHook.php (639 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment