remove index file on wp install

This commit is contained in:
usman@cyberpersons.com
2023-05-16 15:32:46 +05:00
parent 011456d6a8
commit 21889ec0a0

View File

@@ -565,6 +565,13 @@ $parameters = array(
else:
finalPath = "/home/" + domainName + "/public_html/"
### check if index file then delete
IndexFile = f'{finalPath}index.html'
command = f'rm -f {IndexFile}'
ProcessUtilities.executioner(command, externalApp)
if website.package.dataBases > website.databases_set.all().count():
pass
else: