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;