|
|
@ -448,10 +448,15 @@
|
|
|
|
$context = stream_context_create(array(
|
|
|
|
$context = stream_context_create(array(
|
|
|
|
'http' => array(
|
|
|
|
'http' => array(
|
|
|
|
'method' => 'GET',
|
|
|
|
'method' => 'GET',
|
|
|
|
|
|
|
|
'protocol_version'=> 1.1,
|
|
|
|
'header' => "If-Modified-Since: ".gmdate("D, d M Y H:i:s \\G\\M\\T\r\n", $timestamp)
|
|
|
|
'header' => "If-Modified-Since: ".gmdate("D, d M Y H:i:s \\G\\M\\T\r\n", $timestamp)
|
|
|
|
)));
|
|
|
|
)));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$context = NULL;
|
|
|
|
$context = stream_context_create(array(
|
|
|
|
|
|
|
|
'http' => array(
|
|
|
|
|
|
|
|
'method' => 'GET',
|
|
|
|
|
|
|
|
'protocol_version'=> 1.1
|
|
|
|
|
|
|
|
)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$old_error = error_get_last();
|
|
|
|
$old_error = error_get_last();
|
|
|
|