aboutsummaryrefslogtreecommitdiffstats
path: root/config/countryblock/countryblock.inc
diff options
context:
space:
mode:
authorTom Schaefer <tom@tomschaefer.org>2010-10-06 01:50:20 -0400
committerTom Schaefer <tom@tomschaefer.org>2010-10-06 01:50:20 -0400
commit2f813641d14c2bd5fdc7a8b789ac61f83ba0857a (patch)
tree3a64df572cc5156c1ee123de9dfe4011318ab3d2 /config/countryblock/countryblock.inc
parentc01d3baba7d098f7f46a43dd1ec732e8196c4095 (diff)
downloadpfsense-packages-2f813641d14c2bd5fdc7a8b789ac61f83ba0857a.tar.gz
pfsense-packages-2f813641d14c2bd5fdc7a8b789ac61f83ba0857a.tar.bz2
pfsense-packages-2f813641d14c2bd5fdc7a8b789ac61f83ba0857a.zip
ver1.8 email notifications and new cron script
Diffstat (limited to 'config/countryblock/countryblock.inc')
-rw-r--r--config/countryblock/countryblock.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/countryblock/countryblock.inc b/config/countryblock/countryblock.inc
index 72d864fb..902bcad5 100644
--- a/config/countryblock/countryblock.inc
+++ b/config/countryblock/countryblock.inc
@@ -57,6 +57,12 @@ function php_install_command_cb()
//rename PHP files from .tmp to .php
+ 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");
+ unlink_if_exists("/tmp/class.smtp.tmp");
+ exec("cp /tmp/email.tmp /usr/local/www/packages/countryblock/email.php");
+ unlink_if_exists("/tmp/email.tmp");
exec("cp /tmp/countryblock.tmp /usr/local/www/packages/countryblock/countryblock.php");
unlink_if_exists("/tmp/countryblock.tmp");
exec("cp /tmp/countryblock_if.tmp /usr/local/www/packages/countryblock/countryblock_if.php");