mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-16 18:48:14 +01:00
test with imgf
This commit is contained in:
parent
6cccf5497d
commit
c637fa23ef
@ -224,8 +224,8 @@ class CFastTrackCache
|
||||
header($value);
|
||||
}
|
||||
|
||||
readfile($item["source"]);
|
||||
debug("fast track 200");
|
||||
readfile($item["source"]);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
@ -2652,8 +2652,8 @@ class CImage
|
||||
|
||||
$this->fastTrackCache->setSource($file);
|
||||
$this->fastTrackCache->writeToCache();
|
||||
readfile($file);
|
||||
debug("standard 200");
|
||||
readfile($file);
|
||||
}
|
||||
|
||||
exit;
|
||||
|
@ -16,6 +16,8 @@ function debug1($msg)
|
||||
file_put_contents($file, "$msg\n", FILE_APPEND);
|
||||
}
|
||||
|
||||
//$useCache = getDefined(array('no-cache', 'nc'), false, true);
|
||||
|
||||
|
||||
$cachePath = __DIR__ . "/../cache/fasttrack";
|
||||
$query = $_GET;
|
||||
@ -50,8 +52,8 @@ if (is_readable($filename)) {
|
||||
header($value);
|
||||
}
|
||||
|
||||
readfile($item["source"]);
|
||||
debug1("really fast track 200");
|
||||
readfile($item["source"]);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user