public function getPasswordFromIniFile($servername)
{
$values = $this->parseIniFile($this->getPasswordFile());
if (isset($values[$servername]['pass']) === true) {
return $values[$servername]['pass'];
}
if (isset($values[$servername]['password']) === true) {
throw new \Exception('Please rename password to pass in ' . $this->getPasswordFile());
}
return '';
}