Browse Source

Fix xdebug for php5.6 repo

master
Prabuddha Chakraborty 9 years ago
parent
commit
13a752e62a
  1. 8
      ee/cli/plugins/stack.py

8
ee/cli/plugins/stack.py

@ -1105,8 +1105,8 @@ class EEStackController(CementBaseController):
"profiler_enable] = off\n")
# Disable xdebug
if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/mods-available/xdebug.ini"):
EEFileUtils.searchreplace(self, "/etc/php/mods-available/"
if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/5.6/mods-available/xdebug.ini"):
EEFileUtils.searchreplace(self, "/etc/php/5.6/mods-available/"
"xdebug.ini",
"zend_extension",
";zend_extension")
@ -1244,8 +1244,8 @@ class EEStackController(CementBaseController):
"profiler_enable] = off\n")
# Disable xdebug
if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/mods-available/xdebug.ini"):
EEFileUtils.searchreplace(self, "/etc/php/mods-available/"
if not EEShellExec.cmd_exec(self, "grep -q \';zend_extension\' /etc/php/7.0/mods-available/xdebug.ini"):
EEFileUtils.searchreplace(self, "/etc/php/7.0/mods-available/"
"xdebug.ini",
"zend_extension",
";zend_extension")

Loading…
Cancel
Save