diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-04 12:04:32 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-04 12:04:32 +0100 |
| commit | 6c27d6eebffef49b4aad09f3ca5201ef06d77977 (patch) | |
| tree | 354bcd7c64d7363d7489826bfa2c6ce5b0a09e51 /.hgtags | |
| parent | c2ee8dbe34483e5abe1a4e30783c5feebe737fc9 (diff) | |
| download | kernel-6c27d6eebffef49b4aad09f3ca5201ef06d77977.tar.gz kernel-6c27d6eebffef49b4aad09f3ca5201ef06d77977.tar.bz2 kernel-6c27d6eebffef49b4aad09f3ca5201ef06d77977.zip | |
admin_system: fix cache prune safety check to allow TEMP_PKG_PATH and STORAGE_PKG_PATH
The guard strpos($item['path'], BIT_ROOT_PATH) always failed for any cache
directory under TEMP_PKG_PATH (e.g. icons, modules, system cache) since
TEMP_PKG_PATH is outside the web root. None of those caches were ever
actually cleared. Extend the check to accept all three known safe roots.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to '.hgtags')
0 files changed, 0 insertions, 0 deletions
