Skip to content

Commit b2d5238

Browse files
committed
updates to the abuse imap downloader
1 parent 19f216a commit b2d5238

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/abuse_imap_downloader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
include_once __DIR__.'/../../../../include/functions.inc.php';
1515
include_once __DIR__.'/../src/ImapAbuseCheck.php';
16+
$GLOBALS['tf']->session->sessionid = substr(basename($_SERVER['argv'][0], '.php'), 0, 32);
1617
$db = $GLOBALS['tf']->db;
1718
$db->query('select abuse_ip,count(abuse_lid) as count from abuse where Year(abuse_time)=Year(now()) and Month(abuse_time)=Month(now()) and Day(abuse_time)=Day(now()) group by abuse_ip');
1819
$abuse_ips = [];

0 commit comments

Comments
 (0)