From 6c2face3cdbc8d02c127fdf9cd731dae7a6d6283 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Fri, 9 Aug 2024 14:05:21 +0300 Subject: [PATCH] bug fix --- plogical/applicationInstaller.py | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index cea5e8620..57ea6395f 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -832,23 +832,23 @@ def installWordPress(self): ### install CyberSMTP - command = f"{FinalPHPPath} -d error_reporting=0 /usr/bin/wp plugin install https://github.com/usmannasir/CyberSMTPs/archive/refs/heads/main.zip --allow-root --path=" + finalPath - result = ProcessUtilities.outputExecutioner(command, externalApp) - - if os.path.exists(ProcessUtilities.debugPath): - logging.writeToFile(str(result)) - - if result.find('Success:') == -1: - raise BaseException(result) - - command = f"{FinalPHPPath} -d error_reporting=0 /usr/bin/wp plugin activate CyberSMTPs --allow-root --path=" + finalPath - result = ProcessUtilities.outputExecutioner(command, externalApp) - - if os.path.exists(ProcessUtilities.debugPath): - logging.writeToFile(str(result)) - - if result.find('Success:') == -1: - raise BaseException(result) + # command = f"{FinalPHPPath} -d error_reporting=0 /usr/bin/wp plugin install https://github.com/usmannasir/CyberSMTPs/archive/refs/heads/main.zip --allow-root --path=" + finalPath + # result = ProcessUtilities.outputExecutioner(command, externalApp) + # + # if os.path.exists(ProcessUtilities.debugPath): + # logging.writeToFile(str(result)) + # + # if result.find('Success:') == -1: + # raise BaseException(result) + # + # command = f"{FinalPHPPath} -d error_reporting=0 /usr/bin/wp plugin activate CyberSMTPs --allow-root --path=" + finalPath + # result = ProcessUtilities.outputExecutioner(command, externalApp) + # + # if os.path.exists(ProcessUtilities.debugPath): + # logging.writeToFile(str(result)) + # + # if result.find('Success:') == -1: + # raise BaseException(result)