Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecb3c8866d | ||
| da573d0a9d |
@@ -1 +1,5 @@
|
||||
{ "version": "2.0.0", "author": "Ivan Carlos", "upstream_sha": "" }
|
||||
{
|
||||
"version": "2.0.1",
|
||||
"author": "Ivan Carlos",
|
||||
"upstream_sha": ""
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user