mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
24fa162413
[ci skip] [skip ci]
16 lines
287 B
PHP
16 lines
287 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.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);
|