diff --git a/includes/functions.php b/includes/functions.php index 8e4050f..f2a98de 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -498,3 +498,179 @@ function SaveTORAndVPNConfig(){ } } +///////////////////LOKINET FUNCTIONS ADDED HERE TO END////////////// + + +function DisplayLokinetConfig(){ + + exec( 'cat '. RASPI_LOKINET_CONFIG, $return ); + exec( 'pidof tor | wc -l', $torproxystatus); + + if( $torproxystatus[0] == 0 ) { + $status = '