Update index.php

This commit is contained in:
SuperDev
2023-01-13 11:07:36 -06:00
committed by GitHub
parent 0a29401e41
commit fad79747bd

View File

@@ -67,8 +67,7 @@ return $bytes . ' B';
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
// Get version
$verurl = github_api_url;
$releases = json_decode(file_get_contents($verurl));
$releases = json_decode(file_get_contents($github_api_url));
$server_version = $releases['tag_name'];