CyberPanel: fix webmail folder selection and UI assets

This commit is contained in:
master3395
2026-03-25 22:00:42 +01:00
parent bc54c9c845
commit 17c66c8485
15 changed files with 1304 additions and 512 deletions

View File

@@ -118,8 +118,8 @@ class ServerStatusUtil(multi.Thread):
if ServerStatusUtil.executioner(command, statusFile) == 0:
return 0
if os.path.exists('/usr/local/CyberCP/lsws-6.0/'):
shutil.rmtree('/usr/local/CyberCP/lsws-6.0')
if os.path.exists('/usr/local/CyberCP/lsws-6.3.4/'):
shutil.rmtree('/usr/local/CyberCP/lsws-6.3.4')
if os.path.exists(f'/usr/local/CyberCP/lsws-{lsws_version}/'):
shutil.rmtree(f'/usr/local/CyberCP/lsws-{lsws_version}/')