|
|
|
@ -67,9 +67,7 @@ return $bytes . ' B';
|
|
|
|
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
|
|
|
|
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
|
|
|
|
|
|
|
|
|
|
|
|
// Get version
|
|
|
|
// Get version
|
|
|
|
$releases = json_decode(file_get_contents("https://api.github.com/repos/Supernova3339/anonupload/releases/latest"));
|
|
|
|
// todo: make this work
|
|
|
|
|
|
|
|
|
|
|
|
$server_version = $releases['tag_name'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<?=template_admin_header('Dashboard', 'dashboard')?>
|
|
|
|
<?=template_admin_header('Dashboard', 'dashboard')?>
|
|
|
|
|