소스 검색

test setup config options domains

andre 5 년 전
부모
커밋
f08d26dd50
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zimbraSingle.inc

+ 1 - 1
zimbraSingle.inc

@@ -25,7 +25,7 @@ function zimbraSingleGetAccess()
     $accessData = array('zimbraServer' => '', 'adminUser' => '', 'adminPass' => '');
     $servers = Capsule::table('tblservers')
         ->select('ipaddress', 'username', 'password')
-        ->where('id', '=', $_SESSION[CreatedServerId])
+        ->where('name', '=', 'Zimbra Single Mailbox')
         ->get();
     $accessData['zimbraServer'] = $servers[0]->ipaddress;
     $accessData['adminUser'] = $servers[0]->username;