mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +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)
|
command = "sed -i 's|$debug = 1|$debug = 0|g' %sconfiguration.php" % (finalPath)
|
||||||
ProcessUtilities.executioner(command)
|
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
|
from filemanager.filemanager import FileManager
|
||||||
@@ -987,6 +984,10 @@ $parameters = array(
|
|||||||
fm = FileManager(None, None)
|
fm = FileManager(None, None)
|
||||||
fm.fixPermissions(self.masterDomain)
|
fm.fixPermissions(self.masterDomain)
|
||||||
|
|
||||||
|
command = "sed -i 's|$sitename = '%s'|$sitename = '%s'|g' %sconfiguration.php" % (
|
||||||
|
dbUser, siteName, finalPath)
|
||||||
|
ProcessUtilities.executioner(command, externalApp)
|
||||||
|
|
||||||
installUtilities.reStartLiteSpeedSocket()
|
installUtilities.reStartLiteSpeedSocket()
|
||||||
|
|
||||||
statusFile = open(tempStatusPath, 'w')
|
statusFile = open(tempStatusPath, 'w')
|
||||||
|
|||||||
@@ -4673,7 +4673,7 @@ app.controller('installJoomlaCTRL', function ($scope, $http, $timeout) {
|
|||||||
domain: domain,
|
domain: domain,
|
||||||
home: home,
|
home: home,
|
||||||
path: path,
|
path: path,
|
||||||
sitename: $scope.blogTitle,
|
sitename: $scope.siteName,
|
||||||
username: $scope.adminUser,
|
username: $scope.adminUser,
|
||||||
passwordByPass: $scope.adminPassword,
|
passwordByPass: $scope.adminPassword,
|
||||||
prefix: $scope.databasePrefix
|
prefix: $scope.databasePrefix
|
||||||
|
|||||||
@@ -4673,7 +4673,7 @@ app.controller('installJoomlaCTRL', function ($scope, $http, $timeout) {
|
|||||||
domain: domain,
|
domain: domain,
|
||||||
home: home,
|
home: home,
|
||||||
path: path,
|
path: path,
|
||||||
sitename: $scope.blogTitle,
|
sitename: $scope.siteName,
|
||||||
username: $scope.adminUser,
|
username: $scope.adminUser,
|
||||||
passwordByPass: $scope.adminPassword,
|
passwordByPass: $scope.adminPassword,
|
||||||
prefix: $scope.databasePrefix
|
prefix: $scope.databasePrefix
|
||||||
|
|||||||
Reference in New Issue
Block a user