X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=blobdiff_plain;f=includes%2FHttpFunctions.php;h=e1cd5c72fc73edbb7cea58f59b3ebb1bc832fd71;hb=554ca56fd5e76b0216c09543d447dbecd5773202;hp=973a28f2e9e9a6a3d670cc96b752647ab981bd14;hpb=ab5efb6186822c1a778c6d560f3153d8ce6ea8cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 973a28f2e9..e1cd5c72fc 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -131,7 +131,7 @@ class Http { * @return bool */ public static function isLocalURL( $url ) { - global $wgCommandLineMode, $wgLocalVirtualHosts, $wgConf; + global $wgCommandLineMode, $wgLocalVirtualHosts; if ( $wgCommandLineMode ) { return false; @@ -156,9 +156,7 @@ class Http { $domain = $domainPart . '.' . $domain; } - if ( in_array( $domain, $wgLocalVirtualHosts ) - || $wgConf->isLocalVHost( $domain ) - ) { + if ( in_array( $domain, $wgLocalVirtualHosts ) ) { return true; } }