From 295b1e4c205a4706f43007b6097ff8fc7f6e7fe5 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 31 Mar 2019 23:11:23 -0400 Subject: [PATCH] exec --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 8707cfa..c3789bd 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -637,7 +637,7 @@ function SaveTORAndVPNConfig(){ $bootstrap=htmlspecialchars($bootstrap); //$bootstrap = escapeshellarg($bootstrap); echo "sudo /home/pi/loki-network/./lokilaunch.sh bootstrap $bootstrap"; - $output = shell_exec("sudo /home/pi/./loki-network/lokilaunch.sh bootstrap $bootstrap"); + $output = exec("sudo /home/pi/./loki-network/lokilaunch.sh bootstrap $bootstrap"); echo "
$output
"; }