From a741722c2758e145bab5a8dc3c20e644f696bc4b Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Tue, 19 Mar 2019 21:04:48 -0400 Subject: [PATCH] Double quotes --- includes/functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 31f3010..88055e9 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,19 +599,19 @@ function SaveTORAndVPNConfig(){ } } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; - exec('sudo systemctl start lokinet'); + exec("sudo systemctl start lokinet"); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; - exec('sudo systemctl stop lokinet'); + 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(); } }