VPN-Management-GUI 2.0.3 porting start
This commit is contained in:
11
Admin/Modules/Squid_old/include/restartsquid.php
Executable file
11
Admin/Modules/Squid_old/include/restartsquid.php
Executable file
@@ -0,0 +1,11 @@
|
||||
<?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/squid_restart");
|
||||
|
||||
header ("Location: ".$path."&uebergabe=3");
|
||||
?>
|
Reference in New Issue
Block a user