update
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 28s

This commit is contained in:
2026-01-21 20:37:35 -03:00
parent e97d36afec
commit da573d0a9d

View File

@@ -639,7 +639,7 @@ function icc_upload_and_shorten_local_file_manager($dir, $url)
$path = rtrim($temp_dir, '/') . '/' . $file;
if (is_dir($path) && strpos($file, 'icc_temp_') === 0) {
// Check age (1 hour = 3600 seconds)
if (filemtime($path) < (time() - 3600)) {
if (filemtime($path) < (time() - 86400)) {
icc_rrmdir($path);
}
}