VPN_KEY to VPN_PASS
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-09-09 15:33:41 +00:00
parent 239b74a9d7
commit 20e44a0f1f
3 changed files with 6 additions and 7 deletions

View File

@@ -12,14 +12,13 @@ if ($_POST["SMARTHOST_PROXY"]=="Y") {
}
/*
if ($_POST["VPN_PROXY"]=="Y") {
$vpnkey_url = get_vpn_url($_POST["VPN_DOMAIN"],$_POST["VPN_KEY"]);
$vpnkey_url = get_vpn_url($_POST["VPN_DOMAIN"],$_POST["VPN_PASS"]);
// DEBUG
echo $vpnkey_url;
echo "<br>";
echo file_get_contents($vpnkey_url);
}
*/
if ($_POST["DISCOVERY"]=="yes") {
if ($_POST["DISCOVERY_DIR"] == "" ) $_POST["DISCOVERY_DIR"]="/usr/local/bin/";