summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 438a47590..f2797e7e7 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -703,6 +703,7 @@ class File extends CI_Controller {
{
if (!$this->input->is_cli_request()) return;
+ // 0 age disables age checks
if ($this->config->item('upload_max_age') == 0) return;
$oldest_time = (time() - $this->config->item('upload_max_age'));