backuprestore0.3

This commit is contained in:
Hassan Hashmi
2022-06-14 12:10:34 +05:00
parent a59e02fb30
commit 6f488052fc
5 changed files with 392 additions and 28 deletions

View File

@@ -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)