瀏覽代碼

Add --no-check-certificate

FusionPBX 5 年之前
父節點
當前提交
2666f0b9f0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ubuntu/resources/ioncube.sh

+ 2 - 2
ubuntu/resources/ioncube.sh

@@ -19,7 +19,7 @@ fi
 #get the ioncube load and unzip it
 #get the ioncube load and unzip it
 if [ .$cpu_architecture = .'x86' ]; then
 if [ .$cpu_architecture = .'x86' ]; then
 	#get the ioncube 64 bit loader
 	#get the ioncube 64 bit loader
-	wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
+	wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
 
 
 	#uncompress the file
 	#uncompress the file
 	unzip ioncube_loaders_lin_x86-64.zip
 	unzip ioncube_loaders_lin_x86-64.zip
@@ -29,7 +29,7 @@ if [ .$cpu_architecture = .'x86' ]; then
 elif [ ."$cpu_architecture" = ."arm" ]; then
 elif [ ."$cpu_architecture" = ."arm" ]; then
 	if [ .$cpu_name = .'armv7l' ]; then
 	if [ .$cpu_name = .'armv7l' ]; then
 		#get the ioncube 64 bit loader
 		#get the ioncube 64 bit loader
-		wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip
+		wget --no-check-certificate https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_armv7l.zip
 
 
 		#uncompress the file
 		#uncompress the file
 		unzip ioncube_loaders_lin_armv7l.zip
 		unzip ioncube_loaders_lin_armv7l.zip