summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/setup.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-31 12:03:59 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-31 12:03:59 +0000
commited11a2ed5b13699b30ba1d36f868c2ade959d3a1 (patch)
treef5901b092833e38a7fa568119cd7f619a6ccf142 /frontends/php/include/setup.inc.php
parentb65a1f95a97ca22c886e56986ba56ebacbe3b394 (diff)
downloadzabbix-ed11a2ed5b13699b30ba1d36f868c2ade959d3a1.tar.gz
zabbix-ed11a2ed5b13699b30ba1d36f868c2ade959d3a1.tar.xz
zabbix-ed11a2ed5b13699b30ba1d36f868c2ade959d3a1.zip
- [ZBX-131] merged rev. 4952:4954 of branches/1.4/ (Artem) (hiding password in install form)
git-svn-id: svn://svn.zabbix.com/trunk@4955 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/setup.inc.php')
-rw-r--r--frontends/php/include/setup.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/setup.inc.php b/frontends/php/include/setup.inc.php
index efd165a7..623a137f 100644
--- a/frontends/php/include/setup.inc.php
+++ b/frontends/php/include/setup.inc.php
@@ -415,7 +415,7 @@
$table->AddRow(array('Database port:', $this->GetConfig('DB_PORT', '0')));
$table->AddRow(array('Database name:', $this->GetConfig('DB_DATABASE', 'unknown')));
$table->AddRow(array('Database user:', $this->GetConfig('DB_USER', 'unknown')));
- $table->AddRow(array('Database password:', $this->GetConfig('DB_PASSWORD', 'unknown')));
+ $table->AddRow(array('Database password:', ereg_replace('.','*',$this->GetConfig('DB_PASSWORD', 'unknown'))));
/* $table->AddRow(array('Distributed monitoring', $this->GetConfig('distributed', null) ? 'Enabled' : 'Disabled')); */
if($this->GetConfig('distributed', null))
{