mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 09:46:11 +01:00
remove index file on wp install
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user