supply site name for joomla

This commit is contained in:
Usman Nasir
2020-10-08 21:45:07 +05:00
parent dd42260cc1
commit 672e1d6614
3 changed files with 6 additions and 5 deletions

View File

@@ -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')

View File

@@ -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

View File

@@ -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