projects
/
pgpooladmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624c544
)
Fix PHP Notice: Undefined variable.
author
pengbo
<
[email protected]
>
Wed, 10 May 2017 00:09:34 +0000
(09:09 +0900)
committer
pengbo
<
[email protected]
>
Wed, 10 May 2017 00:09:34 +0000
(09:09 +0900)
Per bug297.
install/checkParameter.php
patch
|
blob
|
blame
|
history
diff --git
a/install/checkParameter.php
b/install/checkParameter.php
index c546bfa628fa96a82bc06e229949ec7c125faaf6..5ff9f9570262612877a37cef28e6945f726b8ebf 100644
(file)
--- 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']) {