bsdperimeter/pfsense-packages — pull request #225 by phil-davis (2012-03-15 05:13:55+00:00)
Title: Bug 2280 and 2283 Fixup date() and mktime() PHP messages, Fixup case when aliases table is empty

pfblocker.php fixes bug 2280 - requiring config.inc when run with the "cron" parameter ensures that date.timezone is set. When date.timezone is set, PHP doesn't warn about uses of the date() and mktime() functions. This stops noisy messages in /tmp/PHP_errors.log
pfblocker.inc fixes bug 2283 - when there are no aliases in the original alias table, pfblocker should not bother trying to process the empty array from the config.