mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
19 lines
250 B
PHP
19 lines
250 B
PHP
<?php
|
|
|
|
require_once './config.php';
|
|
|
|
|
|
use nntmux\Contents;
|
|
|
|
$page = new AdminPage();
|
|
|
|
if (isset($_GET['id']))
|
|
{
|
|
$contents = new Contents();
|
|
$contents->delete($_GET['id']);
|
|
}
|
|
|
|
$referrer = $_SERVER['HTTP_REFERER'];
|
|
header("Location: " . $referrer);
|
|
|