diff options
| author | 2025-09-05 08:16:52 +0200 | |
|---|---|---|
| committer | 2025-09-05 08:16:52 +0200 | |
| commit | 858616f075e5a66a5e0973af421a9f300b3b9ce1 (patch) | |
| tree | a67eb709c387d03b6471a41fd6b76c60ed2334bf /p/ext.php | |
| parent | 6c9a9ee2266d7fec554d53218a29d121a4a08ee8 (diff) | |
Fixes for no-cache.txt (#7907)
* Closes and fixes error from #7885
* `no-cache.txt` is now respected in `f.php`, `ext.php` and `serve` action in `extensionController`
* And in all other places that weren't checking for `no-cache.txt` (some extensions maybe)
Diffstat (limited to 'p/ext.php')
| -rw-r--r-- | p/ext.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -105,6 +105,6 @@ if ($mtime === false) { require(LIB_PATH . '/http-conditional.php'); -if (!httpConditional($mtime, 604800, 2)) { +if (file_exists(DATA_PATH . '/no-cache.txt') || !httpConditional($mtime, 604800, 2)) { readfile($absolute_filename); } |
