Joomla Installer minor fixes
This commit is contained in:
parent
98f48f8c13
commit
3f3b758730
|
|
@ -1393,9 +1393,6 @@ RewriteRule .* - [E=cache-control:max-age=120]
|
|||
|
||||
installUtilities.installUtilities.reStartLiteSpeed()
|
||||
|
||||
print "1,None"
|
||||
|
||||
|
||||
except BaseException, msg:
|
||||
# remove the downloaded files
|
||||
try:
|
||||
|
|
@ -1411,8 +1408,6 @@ RewriteRule .* - [E=cache-control:max-age=120]
|
|||
command = "chown -R "+virtualHostUser+":"+virtualHostUser+" " + homeDir
|
||||
cmd = shlex.split(command)
|
||||
res = subprocess.call(cmd,stdout=FNULL, stderr=subprocess.STDOUT)
|
||||
|
||||
print "0," + str(msg)
|
||||
return
|
||||
|
||||
def issueSSLForHostName(virtualHost,path):
|
||||
|
|
|
|||
|
|
@ -1294,7 +1294,7 @@ def installJoomla(request):
|
|||
|
||||
except KeyError, 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")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue