From 7c821737a1f9bc4eca4a99b38421406f83e71227 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Thu, 25 Apr 2019 22:41:40 -0400 Subject: [PATCH] add Lokinet connection alert --- includes/functions.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 40f047d..f37ff94 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -351,7 +351,16 @@ function DisplayLokinetConfig() } else { $status = '
Lokinet daemon is running
'; - } ?> + } + if ($rulestate != "lokinet") { + $status = '
Not Connected to Lokinet +
'; + } else { + $status = '
Successfully Connected to Lokinet +
'; + } + + ?>