From 99e84afa18caa4ff5fa7103a1d57bbf18324dcb8 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 18 Mar 2019 21:21:22 -0400 Subject: [PATCH] shell_exe --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 92c76f1..606268d 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,7 +599,7 @@ function SaveTORAndVPNConfig(){ } } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; - exec( '/usr/local/bin/./lokinet', $return ); + shell_exec( '/usr/local/bin/lokinet', $return ); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet";