You appear to be a bot. Output may be restricted
Description
Simulate tests with multisite where the $_SERVER['SERVER_NAME'] is not localhost.
Usage
Tests_libs_class_oik_remote::test_simulate_multisite();
Parameters
Returns
voidSource
File name: oik-libs/tests/test-libs-class-oik-remote.phpLines:
1 to 9 of 9
function test_simulate_multisite() { $saved = $_SERVER['SERVER_NAME']; $_SERVER['SERVER_NAME'] = "qw"; $this->test_are_you_local_ip(); $this->test_are_you_local_ip_qw(); $this->test_are_you_private_ip(); $this->test_are_you_local(); $_SERVER['SERVER_NAME'] = $saved; }View on GitHub