From 64703d38f03aa14628887af9ba14b2d12d6ec39b Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 18 Mar 2019 21:33:38 -0400 Subject: [PATCH] get current working directory --- includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 606268d..86fb70c 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,7 +599,8 @@ function SaveTORAndVPNConfig(){ } } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; - shell_exec( '/usr/local/bin/lokinet', $return ); + echo getcwd() . "\n"; + // exec( '/usr/local/bin/lokinet', $return ); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet";