Update ioncube.sh
This commit is contained in:
parent
5e6c17d54f
commit
04c0ab1b04
|
|
@ -20,6 +20,11 @@ unzip ioncube_loaders_lin_x86-64.zip
|
||||||
#remove the zip file
|
#remove the zip file
|
||||||
rm ioncube_loaders_lin_x86-64.zip
|
rm ioncube_loaders_lin_x86-64.zip
|
||||||
|
|
||||||
|
#remove the ioncube directory if it exists
|
||||||
|
if [ -d "ioncube" ]; then
|
||||||
|
rm -Rf ioncube
|
||||||
|
fi
|
||||||
|
|
||||||
#copy the loader to the correct directory
|
#copy the loader to the correct directory
|
||||||
if [ ."$php_version" = ."5.6" ]; then
|
if [ ."$php_version" = ."5.6" ]; then
|
||||||
#copy the php extension .so into the php lib directory
|
#copy the php extension .so into the php lib directory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue