Browse Source

Added output for debug log

feature/refactor-php
Prabuddha Chakraborty 9 years ago
parent
commit
458a2b9a9d
  1. 4
      ee/cli/plugins/sync.py

4
ee/cli/plugins/sync.py

@ -40,7 +40,11 @@ class EESyncController(CementBaseController):
#search for wp-config.php inside htdocs/ #search for wp-config.php inside htdocs/
if not configfiles: if not configfiles:
Log.debug(self, "Config files not found in {0}/ "
.format(ee_site_webroot))
if site.site_type != 'mysql': if site.site_type != 'mysql':
Log.debug(self, "Searching wp-config.php in {0}/htdocs/ "
.format(ee_site_webroot))
configfiles = glob.glob(ee_site_webroot + '/htdocs/wp-config.php') configfiles = glob.glob(ee_site_webroot + '/htdocs/wp-config.php')
if configfiles: if configfiles:

Loading…
Cancel
Save