mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
supply site name for joomla
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user