From 947d6a96f4cfc65b5626dc7e47fbe1d93458ec99 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Tue, 19 Mar 2019 22:05:47 -0400 Subject: [PATCH] single quotes --- includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 4234cf5..e46e0e1 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -602,16 +602,16 @@ function SaveTORAndVPNConfig(){ exec( 'sudo systemctl start lokinet', $return ); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { - echo "Attempting to stop Lokinet"; + echo 'Attempting to stop Lokinet', $return ; exec("sudo systemctl stop lokinet"); location.reload(); } elseif( isset($_POST['GenerateLokinet']) ) { echo "Attempting to generate Lokinet"; - exec( "/home/pi/loki-network/lokinet -g start", $return ); + exec( '/home/pi/loki-network/lokinet -g start', $return ); location.reload(); } elseif( isset($_POST['ReGenerateLokinet']) ) { echo "Attempting to regenerate Lokinet"; - exec( "/home/pi/loki-network/lokinet -g start", $return ); + exec( '/home/pi/loki-network/lokinet -g start', $return ); location.reload(); } }