Ver Fonte

test setup config options domains

andre há 5 anos atrás
pai
commit
f08d26dd50
1 ficheiros alterados com 1 adições e 1 exclusões
  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;