diff --git a/admin/dashboard/index.php b/admin/dashboard/index.php index 54b5d03..304a256 100644 --- a/admin/dashboard/index.php +++ b/admin/dashboard/index.php @@ -67,7 +67,8 @@ return $bytes . ' B'; $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR)); // Get version - $releases = json_decode(file_get_contents(github_api_url)); + $verurl = github_api_url; + $releases = json_decode(file_get_contents($verurl)); $server_version = $releases['tag_name'];