diff --git a/includes/functions.php b/includes/functions.php index 34dff26..32b544c 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -495,10 +495,8 @@ function SaveTORAndVPNConfig(){ foreach( $return as $line ) { echo htmlspecialchars($line, ENT_QUOTES).'
' , PHP_EOL; } - } + } -Lokinet is running '; } - } + $arrConfig = array(); + foreach( $return as $a ) { + if( $a[0] != "#" ) { + $arrLine = explode( " ",$a) ; + $arrConfig[$arrLine[0]]=$arrLine[1]; + } + } + +?> +
+
+
+
Configure TOR proxy
+ +
+ + + + +
+

+ +
+

Basic settings

+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+

Relay settings

+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ + + ' , PHP_EOL; + } else { + echo '' , PHP_EOL; + }; + ?> + +
+
+ +
+
+
+