Diff for Metafox/subst.inc.php between version 1.63 and 1.64
| version 1.63, 2015/01/20 15:20:16 |
version 1.64, 2015/08/20 06:12:02 |
| Line 73 if ($ezin_cgi['output'] == 'admin' |
|
| Line 73 if ($ezin_cgi['output'] == 'admin' |
|
| { |
{ |
| $socket = @fsockopen('ssl://'.$_SERVER['HTTP_HOST'], 443); |
$socket = @fsockopen('ssl://'.$_SERVER['HTTP_HOST'], 443); |
| if (is_resource($socket)) { |
if (is_resource($socket)) { |
| $req_str = "HEAD / HTTP/1.1\r\n"; |
$req_str = sprintf("HEAD %s HTTP/1.1\r\n", $_SERVER['REQUEST_URI']); |
| $req_str .= "Host: $_SERVER[HTTP_HOST]\r\n"; |
$req_str .= sprintf("Host: %s\r\n", $_SERVER['HTTP_HOST']); |
| $req_str .= "Connection: close\r\n\r\n"; |
$req_str .= "Connection: close\r\n\r\n"; |
| fwrite($socket, $req_str); |
fwrite($socket, $req_str); |
| stream_set_blocking($socket, true); |
stream_set_blocking($socket, true); |
Platon Group <platon@platon.org> http://platon.org/
|
|