2 Commits

Author SHA1 Message Date
Gitea Actions
ecb3c8866d Update manifest version to 2.0.1 [▶️] 2026-01-21 23:38:36 +00:00
da573d0a9d update
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 28s
2026-01-21 20:38:04 -03:00
2 changed files with 6 additions and 2 deletions

View File

@@ -1 +1,5 @@
{ "version": "2.0.0", "author": "Ivan Carlos", "upstream_sha": "" } {
"version": "2.0.1",
"author": "Ivan Carlos",
"upstream_sha": ""
}

View File

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