Browse Source

test setup config options domains

andre 5 years ago
parent
commit
f08d26dd50
1 changed files with 1 additions and 1 deletions
  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;