From ed11a2ed5b13699b30ba1d36f868c2ade959d3a1 Mon Sep 17 00:00:00 2001 From: artem Date: Wed, 31 Oct 2007 12:03:59 +0000 Subject: - [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 --- frontends/php/include/setup.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/include/setup.inc.php') 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)) { -- cgit