From f1a9daa2294f71654adff3f3ec8992692fda3460 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sat, 13 Apr 2019 23:52:49 -0400 Subject: [PATCH] Move warning to top --- includes/functions.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index e03e926..1ab7635 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -609,13 +609,13 @@ function SaveTORAndVPNConfig() echo htmlspecialchars($line, ENT_QUOTES).'
' , PHP_EOL; } } elseif (isset($_POST['StartLokinet'])) { - $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh "start" > /dev/null &'); - echo "
$output
"; - ?> -
- Starting Lokinet background daemon process. -
- +
+ Starting Lokinet background daemon process. +
+ $output"; } elseif (isset($_POST['StopLokinet'])) { exec('sudo /home/pi/loki-network/lokilaunch.sh "stop" > /dev/null &', $return); ?>