diff --git a/includes/functions.php b/includes/functions.php index 1d0d710..a466b9b 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -609,6 +609,8 @@ function SaveTORAndVPNConfig(){ } elseif( isset($_POST['ReGenerateLokinet']) ) { // echo "Attempting to regenerate Lokinet"; exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen" > /dev/null &', $return ); + } else { + DisplayLokinetConfig(); } } ?>