Fix. Load Message class (#2585)

Fix. Use correct way to get text message.
Fix. Use `Database Username` to create database if no `Create Database Username` specified.
This commit is contained in:
Alexey Melnichuk
2017-05-18 08:43:43 -06:00
committed by FusionPBX
parent dbf3d7ab08
commit a75d89ef73
2 changed files with 2 additions and 5 deletions
@@ -194,10 +194,6 @@ require_once "root.php";
$this->$o_key = $value;
}
}
if($this->_db_create== 1) {
if (strlen($this->_db_create_username)==0) $this->_db_create_username='root';
if (strlen($this->_db_create_password)==0) $this->_db_password;
}
if (strlen($this->_db_port) == 0) { $this->_db_port = "5432"; }
// domain info