From 765c5e0dd23577f2a8ce550ebb09ea751ef91dfb Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 3 May 2020 22:06:32 +0500 Subject: [PATCH] add full php path to mail scanner --- {CLScript => CPScripts}/mailscannerinstaller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {CLScript => CPScripts}/mailscannerinstaller.sh (99%) diff --git a/CLScript/mailscannerinstaller.sh b/CPScripts/mailscannerinstaller.sh similarity index 99% rename from CLScript/mailscannerinstaller.sh rename to CPScripts/mailscannerinstaller.sh index 4fa8da4b9..05951f7c6 100644 --- a/CLScript/mailscannerinstaller.sh +++ b/CPScripts/mailscannerinstaller.sh @@ -167,7 +167,7 @@ ln -s /usr/local/CyberCP/public/mailwatch/MailScanner_perl_scripts/SQLBlackWhite ln -s /usr/local/CyberCP/public/mailwatch/MailScanner_perl_scripts/SQLSpamSettings.pm /usr/share/MailScanner/perl/custom sed -i "s/^\$pathToFunctions =.*/\$pathToFunctions = '\/usr\/local\/CyberCP\/public\/mailwatch\/mailscanner\/functions.php';/" /usr/local/CyberCP/public/mailwatch/upgrade.php -/usr/bin/php /usr/local/CyberCP/public/mailwatch/upgrade.php +/usr/local/lsws/lsphp72/bin/php /usr/local/CyberCP/public/mailwatch/upgrade.php systemctl enable mailscanner systemctl restart mailscanner