mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
24fa162413
[ci skip] [skip ci]
16 lines
315 B
PHP
16 lines
315 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
|
|
|
|
use nntmux\Binaries;
|
|
|
|
// login check
|
|
$admin = new AdminPage;
|
|
$bin = new Binaries();
|
|
|
|
if (isset($_GET['action']) && $_GET['action'] == '2') {
|
|
$id = (int) $_GET['bin_id'];
|
|
$bin->deleteBlacklist($id);
|
|
echo "Blacklist $id deleted.";
|
|
}
|