From fad79747bdf1e1f53fc839d301fa3579086530be Mon Sep 17 00:00:00 2001 From: SuperDev Date: Fri, 13 Jan 2023 11:07:36 -0600 Subject: [PATCH] Update index.php --- admin/dashboard/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/dashboard/index.php b/admin/dashboard/index.php index 304a256..0c89890 100644 --- a/admin/dashboard/index.php +++ b/admin/dashboard/index.php @@ -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'];