From bf35b46c6c0ac6af8409584de01662a072fac043 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 20 Mar 2019 00:33:11 -0400 Subject: [PATCH] Reload function --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index bd916ec..318584f 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -600,7 +600,7 @@ function SaveTORAndVPNConfig(){ } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; exec( 'sudo /home/pi/loki-network/lokinet > /dev/null &' ); - location.reload(); + DisplayLokinetConfig(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; exec( 'sudo systemctl stop lokinet > /dev/null $' );