mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-07-13 04:33:11 +02:00
Update index.php
This commit is contained in:
@@ -70,7 +70,7 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
|
||||
$PATCH_URL = 'https://raw.githubusercontent.com/Supernova3339/anonfiles/main/';
|
||||
$version_filename = 'latest.txt?token=GHSAT0AAAAAAB4S7HM4SZGF7VWPABQO3KRSY5FDV4Q'; # REMOVE TOKEN
|
||||
// Get version
|
||||
$ch = curl_init($PATCH_URL);
|
||||
$ch = curl_init($PATCH_URL . $version_filename);
|
||||
|
||||
curl_setopt($ch, CURLOPT_HEADER, 0);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
|
||||
Reference in New Issue
Block a user