diff --git a/plugin.php b/plugin.php index 69aa46f..8c86a2a 100755 --- a/plugin.php +++ b/plugin.php @@ -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); } }