fix previous wrt if-modified-since being added to context options headers

This commit is contained in:
Andrew Dolgov 2018-02-25 14:22:46 +03:00
parent 8f60cb4400
commit e7c9bc60ec

View file

@ -500,7 +500,7 @@
);
if (!$post_query && $last_modified) {
$context_options['http']['header'] = "If-Modified-Since: $last_modified\r\n";
array_push($context_options['http']['header'], "If-Modified-Since: $last_modified");
}
if (defined('_HTTP_PROXY')) {