From 61dc3654d0881c3adfab745108100f371b9aa7ff Mon Sep 17 00:00:00 2001 From: hennaboy Date: Sun, 3 May 2020 18:03:50 +0100 Subject: [PATCH] Update mailscannerinstaller.sh update php path --- CLScript/mailscannerinstaller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLScript/mailscannerinstaller.sh b/CLScript/mailscannerinstaller.sh index 7f985fa15..4fa8da4b9 100644 --- a/CLScript/mailscannerinstaller.sh +++ b/CLScript/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 -php /usr/local/CyberCP/public/mailwatch/upgrade.php +/usr/bin/php /usr/local/CyberCP/public/mailwatch/upgrade.php systemctl enable mailscanner systemctl restart mailscanner