Merge branch 'stable' into v1.9.4

This commit is contained in:
Usman Nasir
2020-01-19 10:10:30 +05:00

View File

@@ -1662,8 +1662,10 @@ CSRF_COOKIE_SECURE = True
command = 'chmod 600 /usr/local/CyberCP/plogical/adminPass.py'
Upgrade.executioner(command, 0)
command = "find /usr/local/CyberCP/ -name '*.pyc' -delete"
Upgrade.executioner(command, 0)
pycsettings = '/usr/local/CyberCP/CyberCP/settings.pyc'
if os.path.exists(pycsettings):
os.remove(pycsettings)
Upgrade.stdOut("Permissions updated.")