From 95341ffacf292acd81bbdc627c72d2d45abb74f7 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 18 Mar 2019 21:42:40 -0400 Subject: [PATCH] absolute path --- includes/functions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 86fb70c..d574a64 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,8 +599,7 @@ function SaveTORAndVPNConfig(){ } } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; - echo getcwd() . "\n"; - // exec( '/usr/local/bin/lokinet', $return ); + exec( '/home/pi/loki-network/lokinet', $return ); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet";