diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-08 08:18:41 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-08 08:18:41 -0300 |
commit | af08522a6f705b64c1d0ba91b10c63c0ac8ec46d (patch) | |
tree | 31b7de02355b2037ab9a2d16870ca4758d8a5db8 /config/pfblockerng/pfblockerng.php | |
parent | 85e9beb74e3184a72af621f9a4cf4b42d62de743 (diff) | |
parent | d7152f8d965ed3b22f7b64eaadd6a4f77dfe58d8 (diff) | |
download | pfsense-packages-af08522a6f705b64c1d0ba91b10c63c0ac8ec46d.tar.gz pfsense-packages-af08522a6f705b64c1d0ba91b10c63c0ac8ec46d.tar.bz2 pfsense-packages-af08522a6f705b64c1d0ba91b10c63c0ac8ec46d.zip |
Merge pull request #1033 from BBcan177/pfBlockerNG083015
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); |