Cyberpanel_Haabi

This commit is contained in:
Ghassan
2023-03-10 22:35:34 +05:00
parent 696709c9e0
commit f21f59031a
6 changed files with 200 additions and 0 deletions

View File

@@ -52,6 +52,12 @@ class BackupManager:
proc = httpProc(request, 'backup/backup.html', {'websiteList': websitesName}, 'createBackup')
return proc.render()
def RestoreV2backupSite(self, request=None, userID=None, data=None):
currentACL = ACLManager.loadedACL(userID)
websitesName = ACLManager.findAllSites(currentACL, userID)
proc = httpProc(request, 'IncBackups/RestoreV2Backup.html', {'websiteList': websitesName}, 'createBackup')
return proc.render()
def gDrive(self, request=None, userID=None, data=None):
currentACL = ACLManager.loadedACL(userID)
admin = Administrator.objects.get(pk=userID)