Fix wo stack purge

This commit is contained in:
VirtuBox
2019-09-21 01:08:51 +02:00
parent 03228e08b9
commit 5cc723550e
3 changed files with 30 additions and 20 deletions

View File

@@ -45,8 +45,9 @@ class WOSyncController(CementBaseController):
Log.debug(self, "Config files not found in {0}/ "
.format(wo_site_webroot))
if site.site_type != 'mysql':
Log.debug(self, "Searching wp-config.php in {0}/htdocs/ "
.format(wo_site_webroot))
Log.debug(self,
"Searching wp-config.php in {0}/htdocs/"
.format(wo_site_webroot))
configfiles = glob.glob(
wo_site_webroot + '/htdocs/wp-config.php')