From 63437764fb45dc321234f9c78daa918d1e456154 Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Wed, 2 Mar 2016 19:04:09 +0530 Subject: [PATCH] changed debug file path --- ee/cli/plugins/debug.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ee/cli/plugins/debug.py b/ee/cli/plugins/debug.py index dfc9ebe0..e9757550 100644 --- a/ee/cli/plugins/debug.py +++ b/ee/cli/plugins/debug.py @@ -194,7 +194,7 @@ class EEDebugController(CementBaseController): nc.savef('/etc/nginx/conf.d/upstream.conf') # Enable xdebug - EEFileUtils.searchreplace(self, "/etc/{0}/mods-available/".format("php" if EEVariables.ee_platform_codename == 'trusty' else "php5") + + EEFileUtils.searchreplace(self, "/etc/{0}/mods-available/".format("php/5.6" if EEVariables.ee_platform_codename == 'trusty' else "php5") + "xdebug.ini", ";zend_extension", "zend_extension") @@ -233,7 +233,7 @@ class EEDebugController(CementBaseController): nc.savef('/etc/nginx/conf.d/upstream.conf') # Disable xdebug - EEFileUtils.searchreplace(self, "/etc/{0}/mods-available/".format("php" if EEVariables.ee_platform_codename == 'trusty' else "php5") + + EEFileUtils.searchreplace(self, "/etc/{0}/mods-available/".format("php/5.6" if EEVariables.ee_platform_codename == 'trusty' else "php5") + "xdebug.ini", "zend_extension", ";zend_extension") @@ -311,7 +311,7 @@ class EEDebugController(CementBaseController): nc.savef('/etc/nginx/conf.d/upstream.conf') # Enable xdebug - EEFileUtils.searchreplace(self, "/etc/php/mods-available/" + EEFileUtils.searchreplace(self, "/etc/php/7.0/mods-available/" "xdebug.ini", ";zend_extension", "zend_extension") @@ -350,7 +350,7 @@ class EEDebugController(CementBaseController): nc.savef('/etc/nginx/conf.d/upstream.conf') # Disable xdebug - EEFileUtils.searchreplace(self, "/etc/php/mods-available/" + EEFileUtils.searchreplace(self, "/etc/php/7.0/mods-available/" "xdebug.ini", "zend_extension", ";zend_extension")