Skip to content

Commit

Permalink
bug fix: csf install and mysql manager
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Oct 3, 2024
1 parent 6b437ec commit d1171a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plogical/csf.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ def installCSF():
'sed -i "s/import signals/import configservercsf.signals/g" /usr/local/CyberCP/configservercsf/apps.py',
'sed -i "s/url(r\'^$\'/path(\'\'/g" /usr/local/CyberCP/configservercsf/urls.py',
'sed -i "s|url(r\'^iframe/$\'|path(\'iframe/\'|g" /usr/local/CyberCP/configservercsf/urls.py',
'sed -i -E "s/from.*, response/from plogical.httpProc import httpProc/g" /usr/local/CyberCP/configservercsf/views.py'
'''sed -i -E "s#^(\s*)return render.*index\.html.*#\1proc = httpProc(request, 'configservercsf/index.html', None, 'admin')\n\1return proc.render()#g" /usr/local/CyberCP/configservercsf/views.py'''
# 'sed -i -E "s/from.*, response/from plogical.httpProc import httpProc/g" /usr/local/CyberCP/configservercsf/views.py'
# '''sed -i -E "s#^(\s*)return render.*index\.html.*#\1proc = httpProc(request, 'configservercsf/index.html', None, 'admin')\n\1return proc.render()#g" /usr/local/CyberCP/configservercsf/views.py'''
'killall lswsgi'
]

Expand Down

0 comments on commit d1171a6

Please sign in to comment.