From bca44182fbb2a0e5108535c198f8a2ba91b43af1 Mon Sep 17 00:00:00 2001 From: SuperDev Date: Fri, 13 Jan 2023 11:09:28 -0600 Subject: [PATCH] Update index.php --- admin/dashboard/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/dashboard/index.php b/admin/dashboard/index.php index 0c89890..d949d75 100644 --- a/admin/dashboard/index.php +++ b/admin/dashboard/index.php @@ -67,7 +67,7 @@ return $bytes . ' B'; $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR)); // 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'];