|
|
@ -288,7 +288,10 @@ function ee_update_latest() |
|
|
|
if [ -f /etc/php5/mods-available/xdebug.ini ]; then |
|
|
|
ee_debug_value=$(grep -Hr 9001 /etc/nginx/conf.d/upstream.conf | wc -l ) |
|
|
|
if [ $ee_debug_value -eq 1 ]; then |
|
|
|
sed -i "s/zend_extension/;zend_extension" /etc/php5/mods-available/xdebug.ini |
|
|
|
grep -Hr ";zend_extension" /etc/php5/mods-available/xdebug.ini |
|
|
|
if [ $? -ne 0 ]; then |
|
|
|
sed -i "s/zend_extension/;zend_extension" /etc/php5/mods-available/xdebug.ini |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|