diff options
author | BBcan177 <bbcan177@gmail.com> | 2015-08-30 22:19:30 -0400 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2015-08-30 22:19:30 -0400 |
commit | e0acf9ae6217557b2e77152ca498b2f73a08f624 (patch) | |
tree | 061c80d97556235c52f6ab5778417d109b1a4c90 /config/pfblockerng/pfblockerng.php | |
parent | fe1f8e57ce57b879157ec264028248c31efd09a6 (diff) | |
download | pfsense-packages-e0acf9ae6217557b2e77152ca498b2f73a08f624.tar.gz pfsense-packages-e0acf9ae6217557b2e77152ca498b2f73a08f624.tar.bz2 pfsense-packages-e0acf9ae6217557b2e77152ca498b2f73a08f624.zip |
pfBlockerNG mods
Diffstat (limited to 'config/pfblockerng/pfblockerng.php')
-rw-r--r-- | config/pfblockerng/pfblockerng.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/pfblockerng/pfblockerng.php b/config/pfblockerng/pfblockerng.php index f69983e2..83b0ed8d 100644 --- a/config/pfblockerng/pfblockerng.php +++ b/config/pfblockerng/pfblockerng.php @@ -189,7 +189,7 @@ function pfb_update_check($header_url, $list_url, $url_format, $pfbfolder) { if (file_exists($local_file)) { // Determine if URL is Remote or Local if ($host['host'] == "127.0.0.1" || $host['host'] == $pfb['iplocal'] || empty($host['host'])) { - $remote_tds = gmdate ("D, d M Y H:i:s T", filemtime($local_file)); + $remote_tds = gmdate ("D, d M Y H:i:s T", filemtime($list_url)); } else { $remote_tds = @implode(preg_grep("/Last-Modified/", get_headers($list_url))); $remote_tds = preg_replace("/^Last-Modified: /","", $remote_tds); |