From dcbe04b3411b5eed67796d52f1f530ccdf533387 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 17 Mar 2019 16:01:42 -0400 Subject: [PATCH] find home dir in php --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 02b619d..ecd4946 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -433,7 +433,7 @@ function DisplayLokinetConfig(){ } else { echo '' , PHP_EOL; }; - $filename = '~/.lokinet/lokinet.ini'; + $filename = '/home/pi/.lokinet/lokinet.ini'; if (file_exists($filename)) { echo '' , PHP_EOL; } else {