mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +03:00
Improve ENV replacement
This commit is contained in:
parent
338f18d2af
commit
0f981a9e51
2 changed files with 19 additions and 10 deletions
|
|
@ -619,7 +619,6 @@ class PdoAddressBook
|
|||
foreach ($aPaths as $sKey => $sValue)
|
||||
{
|
||||
$sValue = \MailSo\Base\Utils::StrToLowerIfAscii($sValue);
|
||||
|
||||
if (\in_array($sValue, array('contacts', 'default', 'addressbook', 'address book')))
|
||||
{
|
||||
$sNewPath = $sKey;
|
||||
|
|
@ -639,7 +638,6 @@ class PdoAddressBook
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
$sPath = $sNewPath;
|
||||
|
||||
$bGood = $this->checkContactsPath($oClient, $sPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue