Update index.php

dev
SuperDev 3 years ago committed by GitHub
parent 22f2d2b2e2
commit d7628753d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,7 +67,7 @@ return $bytes . ' B';
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
// Get version
$releases = json_decode(file_get_contents("https://api.github.com/repos/supernova3339/anonupload/releases/latest"));
$releases = json_decode(file_get_contents(github_api_url));
$server_version = $releases['tag_name'];

Loading…
Cancel
Save