Joomla Installer minor fixes

This commit is contained in:
Chirag Aggarwal
2017-12-14 07:02:02 -05:00
parent 98f48f8c13
commit 3f3b758730
2 changed files with 1 additions and 6 deletions

View File

@@ -1393,9 +1393,6 @@ RewriteRule .* - [E=cache-control:max-age=120]
installUtilities.installUtilities.reStartLiteSpeed() installUtilities.installUtilities.reStartLiteSpeed()
print "1,None"
except BaseException, msg: except BaseException, msg:
# remove the downloaded files # remove the downloaded files
try: try:
@@ -1411,8 +1408,6 @@ RewriteRule .* - [E=cache-control:max-age=120]
command = "chown -R "+virtualHostUser+":"+virtualHostUser+" " + homeDir command = "chown -R "+virtualHostUser+":"+virtualHostUser+" " + homeDir
cmd = shlex.split(command) cmd = shlex.split(command)
res = subprocess.call(cmd,stdout=FNULL, stderr=subprocess.STDOUT) res = subprocess.call(cmd,stdout=FNULL, stderr=subprocess.STDOUT)
print "0," + str(msg)
return return
def issueSSLForHostName(virtualHost,path): def issueSSLForHostName(virtualHost,path):

View File

@@ -1294,7 +1294,7 @@ def installJoomla(request):
except KeyError, msg: except KeyError, msg:
status = {"installStatus":0,"error":str(msg)} status = {"installStatus":0,"error":str(msg)}
logging.CyberCPLogFileWriter.writeToFile(str(msg) + "[installWordpress]") logging.CyberCPLogFileWriter.writeToFile(str(msg) + "[installJoomla]")
return HttpResponse("Not Logged in as admin") return HttpResponse("Not Logged in as admin")