Password for database in config (server.xml) is not longer required.

This commit is contained in:
Tom Valk
2015-11-16 17:18:44 +01:00
parent e768f77edf
commit a82a8afa3a
2 changed files with 25 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class Config {
* @return bool
*/
public function validate() {
if (!$this->host || !$this->port || !$this->user || !$this->pass || !$this->name) {
if (!$this->host || !$this->port || !$this->user || !$this->name) {
return false;
}
if ($this->user === 'mysql_user' || $this->pass === 'mysql_password') {