Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin/parse_logs/count_downloads.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/parse_logs/count_downloads.class.php')
-rw-r--r--bin/parse_logs/count_downloads.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/parse_logs/count_downloads.class.php b/bin/parse_logs/count_downloads.class.php
index 9274654..e74fcf1 100644
--- a/bin/parse_logs/count_downloads.class.php
+++ b/bin/parse_logs/count_downloads.class.php
@@ -154,7 +154,7 @@ class Count_Downloads {
*/
function cleanIPs($currentTime) {
foreach ($this->countedIPs as $ip => $downloadTime) {
- if (($currentTime - $downloadTime) > 30)
+ if (($currentTime - $downloadTime) > SITE_BLACKLIST_TIMEOUT)
unset($this->countedIPs[$ip]);
}
}