Skip to content

Commit 9a223a2

Browse files
committed
Fixed an issue related to HTTPS wrapper
1 parent 8a0b0fc commit 9a223a2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

insta/index.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
2+
@define("STDERR", fopen("php://stderr", "wt"));
33
session_start();
44
if(!isset($_SESSION["access_token"])){
55
$_SESSION["state"] = $state = bin2hex(openssl_random_pseudo_bytes(8));
@@ -128,7 +128,8 @@ function reloadMe(){
128128
foreach($ret as $gist){
129129
$files = $gist["files"];
130130
if(isset($files["plugin.yml"])){
131-
$manifest = yaml_parse_url($files["plugin.yml"]["raw_url"]);
131+
$yamlCont = urlGet($files["plugin.yml"]["raw_url"]);
132+
$manifest = yaml_parse($yamlCont);
132133
$langs = [];
133134
foreach($files as $file){
134135
if(!isset($langs[$file["language"]])){

0 commit comments

Comments
 (0)