diff options
author | Thomas Schaefer <tom@tomschaefer.org> | 2011-10-03 00:35:17 -0400 |
---|---|---|
committer | Thomas Schaefer <tom@tomschaefer.org> | 2011-10-03 00:35:17 -0400 |
commit | d4d0fcbadc7817f1a0a675d04c4005afc58d9b19 (patch) | |
tree | 49a884bd489ae4ca9b2cd78c9b139d0688a8577f /config/countryblock/countryblock.inc | |
parent | 26e504fbacb47031869a7ab204bcd54e54315c15 (diff) | |
download | pfsense-packages-d4d0fcbadc7817f1a0a675d04c4005afc58d9b19.tar.gz pfsense-packages-d4d0fcbadc7817f1a0a675d04c4005afc58d9b19.tar.bz2 pfsense-packages-d4d0fcbadc7817f1a0a675d04c4005afc58d9b19.zip |
added widget for countryblock and ipblocklist
Diffstat (limited to 'config/countryblock/countryblock.inc')
-rw-r--r-- | config/countryblock/countryblock.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/countryblock/countryblock.inc b/config/countryblock/countryblock.inc index 79b223ce..cba04cb7 100644 --- a/config/countryblock/countryblock.inc +++ b/config/countryblock/countryblock.inc @@ -62,6 +62,11 @@ function php_install_command_cb() //rename PHP files from .tmp to .php + exec("cp /tmp/countryblock_IPBlocklist.widget.tmp /usr/local/www/widgets/widgets/countryblock_IPBlocklist.widget.php"); + unlink_if_exists("/tmp/countryblock_IPBlocklist.widget.tmp"); + exec("cp /tmp/countryblock_ipblocklist_widget.tmp /usr/local/www/widgets/widgets/countryblock_ipblocklist_widget.php"); + unlink_if_exists("/tmp/ccountryblock_ipblocklist_widget.tmp"); + exec("cp /tmp/class.phpmailer.tmp /usr/local/www/packages/countryblock/class.phpmailer.php"); unlink_if_exists("/tmp/class.phpmailer.tmp "); exec("cp /tmp/class.smtp.tmp /usr/local/www/packages/countryblock/class.smtp.php"); |