diff options
author | pengbo | 2017-05-10 00:09:34 +0000 |
---|---|---|
committer | pengbo | 2017-05-10 00:09:34 +0000 |
commit | fcb55ce0f92bd4abe1c2cc21d7f453f48b446574 (patch) | |
tree | c9635f486a70ac83118aca5a5ceb2bc6e1359be1 | |
parent | 624c5442097c0903399d4d98a032dfcfefed445c (diff) |
Fix PHP Notice: Undefined variable.
Per bug297.
-rw-r--r-- | install/checkParameter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/checkParameter.php b/install/checkParameter.php index c546bfa..5ff9f95 100644 --- a/install/checkParameter.php +++ b/install/checkParameter.php @@ -179,8 +179,8 @@ if (isset($_POST['pcp_hostname']) && $_POST['pcp_hostname']) { $proc_user_info = posix_getpwuid(posix_geteuid()); $pcppass_file = "{$proc_user_info['dir']}/.pcppass"; +$msgPcpPassFile = ''; if (3.5 <= $version) { - $msgPcpPassFile = ''; if (! is_file($pcppass_file)) { $msgPcpPassFile = 'File not found'; } elseif (fileowner($pcppass_file) != $proc_user_info['uid']) { |