VPN-Management-GUI 2.0.3 porting start
This commit is contained in:
14
Admin/Modules/Squid/changesquid.php
Executable file
14
Admin/Modules/Squid/changesquid.php
Executable file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
session_start();
|
||||
include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
|
||||
include ($_SERVER["DOCUMENT_ROOT"]."/Config/_siteconfig_.php");
|
||||
$id = $_REQUEST["id"];
|
||||
$path = $_REQUEST["path"];
|
||||
// Write to file vpnid_man
|
||||
$myFile = db_getconfval("sqddir")."/vpnid_man";
|
||||
$fh = fopen($myFile, 'w') or die("can't open file");
|
||||
fwrite($fh, $id);
|
||||
fclose($fh);
|
||||
|
||||
header ("Location: ".$path."&uebergabe=1&uebergabe2=1");
|
||||
?>
|
Reference in New Issue
Block a user