mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-06-27 19:18:06 +02:00
bug fix: add lsphp74 to tuning
This commit is contained in:
@@ -2001,8 +2001,9 @@ service_port = 9000
|
||||
|
||||
## Add LSPHP7.4 TO LSWS Ent configs
|
||||
|
||||
if os.path.exists('/usr/local/lsws/bin/openlitespeed'):
|
||||
if not os.path.exists('/usr/local/lsws/bin/openlitespeed'):
|
||||
command = 'wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/install/litespeed/httpd_config.xml'
|
||||
Upgrade.executioner(command, command, 0)
|
||||
os.remove('/usr/local/lsws/conf/httpd_config.xml')
|
||||
shutil.copy('httpd_config.xml', '/usr/local/lsws/conf/httpd_config.xml')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user