use get_paths, as it supports the case where the webmin user isn't a unix user

This commit is contained in:
Jamie Cameron
2016-06-18 22:10:46 -07:00
parent ce8e0411e4
commit 2d4640f00a

View File

@@ -5,7 +5,7 @@ use lib './lib';
&ReadParse();
switch_to_remote_user();
&get_paths();
$confdir = "$remote_user_info[7]/.filemin";
if(!-e $confdir) {