mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
14 lines
313 B
PHP
14 lines
313 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'resources/views/themes/smarty.php';
|
|
|
|
use Blacklight\Contents;
|
|
|
|
if (request()->has('id')) {
|
|
$contents = new Contents();
|
|
$contents->delete(request()->input('id'));
|
|
}
|
|
|
|
$referrer = request()->server('HTTP_REFERER');
|
|
header('Location: '.$referrer);
|