From 9c5054c25f36b63b8b202c67534a3a449aa0d301 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 17 Mar 2019 15:39:23 -0400 Subject: [PATCH] lokinet.ini test --- includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 7db3901..02b619d 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -433,7 +433,8 @@ function DisplayLokinetConfig(){ } else { echo '' , PHP_EOL; }; - if( $torproxystatus[0] == 0 ) { + $filename = '~/.lokinet/lokinet.ini'; + if (file_exists($filename)) { echo '' , PHP_EOL; } else { echo '' , PHP_EOL;