From d4f7fab5c0b41c92a40ddaa07eb7e5b753e1811c Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Wed, 26 Aug 2015 13:52:17 +0530 Subject: [PATCH] Update with comment --- ee/cli/plugins/sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ee/cli/plugins/sync.py b/ee/cli/plugins/sync.py index 30ed7005..d312ff0d 100644 --- a/ee/cli/plugins/sync.py +++ b/ee/cli/plugins/sync.py @@ -37,7 +37,8 @@ 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: if site.site_type != 'mysql': configfiles = glob.glob(ee_site_webroot + '/htdocs/wp-config.php')