diff options
Diffstat (limited to 'config/countryblock/countryblock.inc')
-rw-r--r-- | config/countryblock/countryblock.inc | 6 |
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"); |