summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-02-25 14:22:46 +0300
committerAndrew Dolgov <[email protected]>2018-02-25 14:22:46 +0300
commite7c9bc60ec48e5a7ac4cab27276926f70696ca80 (patch)
treed98fac8ab9717401ec448b0c1f095fedfd33517f /include
parent8f60cb44005a04fa59ec2e1f482db0ae59482113 (diff)
fix previous wrt if-modified-since being added to context options headers
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 6a1296390..1319520c6 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -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')) {