aboutsummaryrefslogtreecommitdiffstats
path: root/config/countryblock/countryblock.inc
diff options
context:
space:
mode:
authorThomas Schaefer <tom@tomschaefer.org>2011-10-03 00:35:17 -0400
committerThomas Schaefer <tom@tomschaefer.org>2011-10-03 00:35:17 -0400
commitd4d0fcbadc7817f1a0a675d04c4005afc58d9b19 (patch)
tree49a884bd489ae4ca9b2cd78c9b139d0688a8577f /config/countryblock/countryblock.inc
parent26e504fbacb47031869a7ab204bcd54e54315c15 (diff)
downloadpfsense-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.inc5
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");