mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 13:25:51 +01:00
backuprestore0.3
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
a = "/home/newweb2.com/public_html/newweb2/"
|
||||
a = "/home/habibackup.ml/public_html/////"
|
||||
DomainName ="newweb3.com"
|
||||
abc = a.split("/")
|
||||
wpexpath = abc[4]
|
||||
newpath = '/home/%s/public_html/%s' % (DomainName, wpexpath)
|
||||
|
||||
print(newpath)
|
||||
if wpexpath != "":
|
||||
home = "0"
|
||||
else:
|
||||
home = "1"
|
||||
print(home)
|
||||
|
||||
Reference in New Issue
Block a user