mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Processed with phpcbf
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
<?php
|
||||
|
||||
include_once('includes/status_messages.php');
|
||||
require_once 'includes/status_messages.php';
|
||||
|
||||
/**
|
||||
*
|
||||
* Manage Tor Proxy configuration
|
||||
*
|
||||
*/
|
||||
* Manage Tor Proxy configuration
|
||||
*/
|
||||
function DisplayTorProxyConfig()
|
||||
{
|
||||
|
||||
@@ -16,21 +14,23 @@ function DisplayTorProxyConfig()
|
||||
$arrConfig = array();
|
||||
foreach ($return as $a) {
|
||||
if ($a[0] != "#") {
|
||||
$arrLine = explode(" ", $a) ;
|
||||
$arrLine = explode(" ", $a);
|
||||
$arrConfig[$arrLine[0]]=$arrLine[1];
|
||||
}
|
||||
}
|
||||
|
||||
echo renderTemplate("torproxy", compact(
|
||||
"status",
|
||||
"torproxystatus"
|
||||
));
|
||||
echo renderTemplate(
|
||||
"torproxy", compact(
|
||||
"status",
|
||||
"torproxystatus"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
*
|
||||
*
|
||||
*/
|
||||
function SaveTORAndVPNConfig()
|
||||
{
|
||||
if (isset($_POST['SaveTORProxySettings'])) {
|
||||
|
Reference in New Issue
Block a user