mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 17:56:12 +01:00
remove index file on wp install
This commit is contained in:
@@ -565,6 +565,13 @@ $parameters = array(
|
|||||||
else:
|
else:
|
||||||
finalPath = "/home/" + domainName + "/public_html/"
|
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():
|
if website.package.dataBases > website.databases_set.all().count():
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user