Fixed hiding passwords
This commit is contained in:
parent
0b76cd535f
commit
ebed5b55db
2
mod.php
2
mod.php
@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
$data = '';
|
$data = '';
|
||||||
foreach($constants as $name => $value) {
|
foreach($constants as $name => $value) {
|
||||||
if(MOD_NEVER_REAL_PASSWORD && $name == 'MY_PASSWORD')
|
if(MOD_NEVER_REAL_PASSWORD && $name == 'DB_PASSWORD')
|
||||||
$value = '<em>hidden</em>';
|
$value = '<em>hidden</em>';
|
||||||
else {
|
else {
|
||||||
// For some reason PHP is only giving me the first defined value (the default), so use constant()
|
// For some reason PHP is only giving me the first defined value (the default), so use constant()
|
||||||
|
Loading…
Reference in New Issue
Block a user