Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Problem with getting source without https #1

Merged
merged 1 commit into from

2 participants

@BandonRandon

Hi Chad,

I have been using this plugin since you wrote it 2 years ago. Recently I tried to update from OpenVBX 1.2.4 to 1.2.5 and kept seeing the "Success!" message but not getting the update screen. After reviewing your source I decided to give it a try using https from github and that seemed to fix the problem.

This patch just requires https when connecting to github.

@chadsmith chadsmith merged commit c7e4050 into chadsmith:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  upgrade.php
View
2  upgrade.php
@@ -9,7 +9,7 @@
if(!is_writable($tmp))
die($tmp.' must be writable by '.get_current_user());
$zip=$tmp.'zip';
-file_put_contents($zip,file_get_contents('http://github.com/twilio/OpenVBX/zipball/master'));
+file_put_contents($zip,file_get_contents('https://github.com/twilio/OpenVBX/zipball/master'));
$z=new ZipArchive;
if(true===$z->open($zip)){
$z->extractTo($tmp);
Something went wrong with that request. Please try again.