mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-31 02:15:55 +01:00 
			
		
		
		
	Added clear log button and ModSec improvements.
This commit is contained in:
		| @@ -1573,7 +1573,7 @@ def saveSSL(request): | ||||
|  | ||||
|                 vhost = open(tempCertPath, "w") | ||||
|  | ||||
|                 vhost.write(data['key']) | ||||
|                 vhost.write(data['cert']) | ||||
|  | ||||
|                 vhost.close() | ||||
|  | ||||
| @@ -1591,8 +1591,6 @@ def saveSSL(request): | ||||
|  | ||||
|                     execPath = execPath + " saveSSL --virtualHostName " + domain + " --path " + pathToStoreSSL + " --tempKeyPath " + tempKeyPath + " --tempCertPath " + tempCertPath + " --sslCheck 0" | ||||
|  | ||||
|  | ||||
|  | ||||
|                     output = subprocess.check_output(shlex.split(execPath)) | ||||
|  | ||||
|                     if output.find("1,None") > -1: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user