You appear to be a bot. Output may be restricted
Description
Determines if the URL is on the local computer
Usage
$bool = oik_remote::are_you_local_computer( $url );
Parameters
- $url
- ( string ) required –
Returns
boolSource
File name: oik/libs/class-oik-remote.phpLines:
1 to 6 of 6
static function are_you_local_computer( $url ) { $local_computer = self::get_computer_name(); $remote_host = parse_url( $url, PHP_URL_HOST ); $local = $local_computer == $remote_host; return $local; }View on GitHub View on Trac