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