changed default action name from install to add

This commit is contained in:
Serghey Rodin 2017-12-21 15:45:59 +02:00
commit 0c49373f01

View file

@ -13,7 +13,7 @@ if [ ! -e "$VESTA/ioncube/$ioncube" ]; then
exit
fi
if [ "$action" = 'install' ]; then
if [ "$action" = 'add' ]; then
if [ -z "$(grep $ioncube $php |grep -v ';')" ]; then
echo "zend_extension = '$VESTA/ioncube/$ioncube'" >> $php
/etc/init.d/vesta restart