Files
newznab-tmux/www/admin/ajax_binaryblacklist-list.php
T

14 lines
252 B
PHP

<?php
require_once './config.php';
// login check
$admin = new AdminPage;
$bin = new Binaries();
if (isset($_GET['action']) && $_GET['action'] == "2")
{
$id = (int)$_GET['bin_id'];
$bin->deleteBlacklist($id);
print "Blacklist $id deleted.";
}