mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-06 06:39:10 +01:00
Merge branch 'v1.9.4' into v1.9.5
This commit is contained in:
@@ -261,6 +261,9 @@ class WebsiteManager:
|
||||
else:
|
||||
return ACLManager.loadErrorJson('createWebSiteStatus', 0)
|
||||
|
||||
if data['path'].find('..') > -1:
|
||||
return ACLManager.loadErrorJson('createWebSiteStatus', 0)
|
||||
|
||||
if currentACL['admin'] != 1:
|
||||
data['openBasedir'] = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user