MediaWiki master
IsTrustedProxyHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
22 public function onIsTrustedProxy( $ip, &$result );
23}
This is a hook handler interface, see docs/Hooks.md.
onIsTrustedProxy( $ip, &$result)
Use this hook to override the result of ProxyLookup::isTrustedProxy().