Update index.php

pull/8/head
SuperDev 3 years ago committed by GitHub
parent 3d711859fd
commit 0e9b3dbb22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,7 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
$PATCH_URL = 'https://raw.githubusercontent.com/Supernova3339/anonfiles/main/'; $PATCH_URL = 'https://raw.githubusercontent.com/Supernova3339/anonfiles/main/';
$version_filename = 'latest.txt?token=GHSAT0AAAAAAB4S7HM4SZGF7VWPABQO3KRSY5FDV4Q'; # REMOVE TOKEN $version_filename = 'latest.txt?token=GHSAT0AAAAAAB4S7HM4SZGF7VWPABQO3KRSY5FDV4Q'; # REMOVE TOKEN
// Get version // Get version
$ch = curl_init($PATCH_URL); $ch = curl_init($PATCH_URL . $version_filename);
curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

Loading…
Cancel
Save