diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index 7450c22f0..f4d4e7748 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -1377,7 +1377,6 @@ $parameters = array( wm.submitWebsiteDeletion(1, self.extraArgs) logging.statusWriter(self.extraArgs['tempStatusPath'], '%s [404].' % (str(msg))) - def installWhmcs(self): try: diff --git a/websiteFunctions/StagingSetup.py b/websiteFunctions/StagingSetup.py index 7e68fe7f6..d97bd8179 100644 --- a/websiteFunctions/StagingSetup.py +++ b/websiteFunctions/StagingSetup.py @@ -98,7 +98,7 @@ class StagingSetup(multi.Thread): dbNameRestore, dbUser, dbPassword = ApplicationInstaller(None, None).dbCreation(tempStatusPath, website) - command = 'wp core config --dbname=%s --dbuser=%s --dbpass=%s --path=%s' % (dbNameRestore, dbUser, dbPassword, path) + command = 'wp core config --dbname=%s --dbuser=%s --dbpass=%s --dbhost=%s --path=%s' % (dbNameRestore, dbUser, dbPassword, ApplicationInstaller.LOCALHOST, path) ProcessUtilities.executioner(command, website.externalApp) ## Exporting and importing database