mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 15:26:13 +01:00
bug fix to lsws switch
This commit is contained in:
@@ -95,7 +95,7 @@ class ProcessUtilities:
|
||||
def decideServer():
|
||||
entPath = '/usr/local/lsws/bin/lshttpd'
|
||||
|
||||
if os.readlink(entPath) == '/usr/local/lsws/bin/lshttpd/openlitespeed':
|
||||
if os.path.exists('/usr/local/lsws/bin/openlitespeed'):
|
||||
return ProcessUtilities.OLS
|
||||
else:
|
||||
return ProcessUtilities.ent
|
||||
|
||||
Reference in New Issue
Block a user