From cc6ee5b1eccdcc2df3c4b983ad03b2fcc6cc9374 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 31 Mar 2019 18:56:55 -0400 Subject: [PATCH] move to main function --- includes/functions.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 661fef0..889758a 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -387,6 +387,17 @@ function DisplayLokinetConfig(){ echo '' , PHP_EOL; } else { echo '' , PHP_EOL; + } + if( isset($_POST['ApplyLokinetSettings']) ) { + //exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen" > /dev/null &', $return); + + ?> +
+ Applying Bootstrap +
+ + @@ -625,7 +636,7 @@ function SaveTORAndVPNConfig(){ Regenerating Lokinet Configuration /dev/null &', $return); ?> @@ -634,7 +645,7 @@ function SaveTORAndVPNConfig(){