mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
changed var names
This commit is contained in:
parent
1c928dbcf8
commit
597e5cb606
1 changed files with 4 additions and 5 deletions
|
@ -1,14 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VESTA='/usr/local/vesta'
|
VESTA='/usr/local/vesta'
|
||||||
ioncube_loader="ioncube_loader_lin_5.6.so"
|
ioncube="ioncube_loader_lin_5.6.so"
|
||||||
php_ini='/usr/local/vesta/php/lib/php.ini'
|
php='/usr/local/vesta/php/lib/php.ini'
|
||||||
|
|
||||||
# Check if extention is enabled
|
# Check if extention is enabled
|
||||||
if [ -z "$(grep $ioncube_loader $php_ini | grep -v ';')" ]; then
|
if [ -z "$(grep $ioncube $php |grep -v ';')" ]; then
|
||||||
echo "zend_extension = \"$VESTA/ioncube/$ioncube_loader\"" >> $php
|
echo "zend_extension = '$VESTA/ioncube/$ioncube'" >> $php
|
||||||
/etc/init.d/vesta restart
|
/etc/init.d/vesta restart
|
||||||
exit
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue