Update ioncube.sh

This commit is contained in:
FusionPBX 2019-02-17 11:06:45 -07:00 committed by GitHub
parent a80b9ce9f1
commit 61a9e0a874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -16,14 +16,16 @@ if [ -d "ioncube" ]; then
rm -Rf ioncube;
fi
#get the ioncube 64 bit loader
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
if [ .$cpu_architecture = .'x86' ]; then
#get the ioncube 64 bit loader
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
#uncompress the file
unzip ioncube_loaders_lin_x86-64.zip
#uncompress the file
unzip ioncube_loaders_lin_x86-64.zip
#remove the zip file
rm ioncube_loaders_lin_x86-64.zip
#remove the zip file
rm ioncube_loaders_lin_x86-64.zip
fi
#copy the loader to the correct directory
if [ ."$php_version" = ."5.6" ]; then