mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-03 03:45:52 +01:00
Joomla Installer minor fixes
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user