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