Browse Source

changed default action name from install to add

Serghey Rodin 8 years ago
parent
commit
0c49373f01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/rpm/conf/ioncube.sh

+ 1 - 1
src/rpm/conf/ioncube.sh

@@ -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