OpenVPN_Management_GUI/Admin/Modules/Squid/delbl.php

10 lines
305 B
PHP
Executable File

<?php
session_start();
$path = $_REQUEST["path"];
include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
include ($_SERVER["DOCUMENT_ROOT"]."/Site/mysql.php");
$ret = passthru("echo > ".db_getconfval("sqddir")."/blacklist");
echo $ret;
header ("Location: ".$path."&uebergabe=1&uebergabe2=2");
?>