Browse Source

Added output for debug log

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

6
ee/cli/plugins/sync.py

@ -37,10 +37,14 @@ class EESyncController(CementBaseController):
ee_site_webroot = site.site_path
# Read config files
configfiles = glob.glob(ee_site_webroot + '/*-config.php')
#search for wp-config.php inside htdocs/
if not configfiles:
Log.debug(self, "Config files not found in {0}/ "
.format(ee_site_webroot))
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')
if configfiles:

Loading…
Cancel
Save