mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-01-18 05:12:05 +01:00
Update index.php
This commit is contained in:
@@ -67,9 +67,7 @@ return $bytes . ' B';
|
||||
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
|
||||
|
||||
// Get version
|
||||
$releases = json_decode(file_get_contents("https://api.github.com/repos/Supernova3339/anonupload/releases/latest"));
|
||||
|
||||
$server_version = $releases['tag_name'];
|
||||
// todo: make this work
|
||||
|
||||
?>
|
||||
<?=template_admin_header('Dashboard', 'dashboard')?>
|
||||
|
||||
Reference in New Issue
Block a user