remove csf gui from cyberpanel and keep csf

This commit is contained in:
usmannasir
2024-10-07 15:08:24 +05:00
parent 6b94a8d269
commit 0f9e713716

View File

@@ -455,7 +455,7 @@ class CSF(multi.Thread):
command = 'sed -i "/configservercsf/d" /usr/local/CyberCP/CyberCP/urls.py'
ProcessUtilities.normalExecutioner(command)
if os.path.exists('/etc/cxs/cxs.pl'):
if not os.path.exists('/etc/cxs/cxs.pl'):
command = 'sed -i "/configserver/d" /usr/local/CyberCP/baseTemplate/templates/baseTemplate/index.html'
ProcessUtilities.normalExecutioner(command)