1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-09-02 20:22:36 +02:00

prepare to test

This commit is contained in:
Mikael Roos
2016-08-08 09:29:26 +02:00
parent c637fa23ef
commit b1d0cb1506
16 changed files with 1273 additions and 594 deletions

View File

@@ -91,7 +91,6 @@ class CFastTrackCache
$queryAsString = http_build_query($query);
$this->filename = md5($queryAsString);
$this->container["query-string"] = $queryAsString;
return $this->filename;
}
@@ -216,7 +215,6 @@ class CFastTrackCache
if (isset($_SERVER["HTTP_IF_MODIFIED_SINCE"])
&& strtotime($_SERVER["HTTP_IF_MODIFIED_SINCE"]) == $item["last-modified"]) {
header("HTTP/1.0 304 Not Modified");
debug("fast track 304");
exit;
}
@@ -224,7 +222,6 @@ class CFastTrackCache
header($value);
}
debug("fast track 200");
readfile($item["source"]);
exit;
}