mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-05 03:40:48 +01:00
fix imunify after upgrade
This commit is contained in:
@@ -1375,6 +1375,12 @@ class Upgrade:
|
||||
|
||||
## Move static files
|
||||
|
||||
imunifyPath = '/usr/local/CyberCP/public/imunify'
|
||||
|
||||
if os.path.exists(imunifyPath):
|
||||
command = "yum reinstall imunify360-firewall-generic -y"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
Upgrade.staticContent()
|
||||
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user