supply site name for joomla

This commit is contained in:
Usman Nasir
2020-10-08 21:33:57 +05:00
parent 95f818e1e1
commit dd42260cc1
5 changed files with 14 additions and 0 deletions

View File

@@ -831,6 +831,7 @@ $parameters = array(
password = self.extraArgs['password']
prefix = self.extraArgs['prefix']
home = self.extraArgs['home']
siteName = self.extraArgs['siteName']
tempStatusPath = self.extraArgs['tempStatusPath']
self.tempStatusPath = tempStatusPath
@@ -976,6 +977,9 @@ $parameters = array(
command = "sed -i 's|$debug = 1|$debug = 0|g' %sconfiguration.php" % (finalPath)
ProcessUtilities.executioner(command)
command = "sed -i 's|$sitename = '%s'|$sitename = '%s'|g' %sconfiguration.php" % (dbUser, siteName, finalPath)
ProcessUtilities.executioner(command)
##
from filemanager.filemanager import FileManager