OpenVPN_Management_GUI/Admin/Modules/VPNconfig/include/stopvpn.php

12 lines
304 B
PHP
Raw Permalink Normal View History

2012-07-16 21:30:19 +02:00
<?php
session_start();
include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
include ($_SERVER["DOCUMENT_ROOT"]."/Config/_siteconfig_.php");
$path = $_REQUEST["path"];
// Write to file vpnid_man
exec("touch /var/vpn/openvpn_stop");
header ("Location: ".$path."&uebergabe=2&uebergabe3=3");
?>