mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
supply site name for joomla
This commit is contained in:
@@ -977,9 +977,6 @@ $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
|
||||
@@ -987,6 +984,10 @@ $parameters = array(
|
||||
fm = FileManager(None, None)
|
||||
fm.fixPermissions(self.masterDomain)
|
||||
|
||||
command = "sed -i 's|$sitename = '%s'|$sitename = '%s'|g' %sconfiguration.php" % (
|
||||
dbUser, siteName, finalPath)
|
||||
ProcessUtilities.executioner(command, externalApp)
|
||||
|
||||
installUtilities.reStartLiteSpeedSocket()
|
||||
|
||||
statusFile = open(tempStatusPath, 'w')
|
||||
|
||||
@@ -4673,7 +4673,7 @@ app.controller('installJoomlaCTRL', function ($scope, $http, $timeout) {
|
||||
domain: domain,
|
||||
home: home,
|
||||
path: path,
|
||||
sitename: $scope.blogTitle,
|
||||
sitename: $scope.siteName,
|
||||
username: $scope.adminUser,
|
||||
passwordByPass: $scope.adminPassword,
|
||||
prefix: $scope.databasePrefix
|
||||
|
||||
@@ -4673,7 +4673,7 @@ app.controller('installJoomlaCTRL', function ($scope, $http, $timeout) {
|
||||
domain: domain,
|
||||
home: home,
|
||||
path: path,
|
||||
sitename: $scope.blogTitle,
|
||||
sitename: $scope.siteName,
|
||||
username: $scope.adminUser,
|
||||
passwordByPass: $scope.adminPassword,
|
||||
prefix: $scope.databasePrefix
|
||||
|
||||
Reference in New Issue
Block a user