mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 06:16:08 +01:00
bug fix: change path of bwmeta
This commit is contained in:
@@ -249,6 +249,13 @@ def design(request):
|
|||||||
cosmetic = CyberPanelCosmetic()
|
cosmetic = CyberPanelCosmetic()
|
||||||
cosmetic.save()
|
cosmetic.save()
|
||||||
|
|
||||||
|
val = request.session['userID']
|
||||||
|
currentACL = ACLManager.loadedACL(val)
|
||||||
|
if currentACL['admin'] == 1:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
return ACLManager.loadErrorJson('reboot', 0)
|
||||||
|
|
||||||
finalData = {}
|
finalData = {}
|
||||||
|
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
|
|||||||
Reference in New Issue
Block a user