Ver código fonte

debug configOptions

andre 5 anos atrás
pai
commit
8040abc379
1 arquivos alterados com 8 adições e 2 exclusões
  1. 8 2
      zimbraSingle.inc

+ 8 - 2
zimbraSingle.inc

@@ -408,10 +408,16 @@ function zimbraSingleConfigOptions($params) {
     }
     $domainNames = recursiveFindAll($response, 'NAME');
     foreach($domainNames as $domainName) {
-        $configOptions[$domainName] = array(
+        $configOptions['maildomain'] = array(
+            "FriendlyName" => $domainName,
+            "Type" => "textarea", # Textarea
+            "Rows" => "1", # Number of Rows
+            "Cols" => "50", # Number of Columns
+            "Default" => $domainName,
+        );
+        $configOptions['activate'] = array(
             "FriendlyName" => $domainName,
             "Type" => "yesno",
-            "Description" => "activate to use this maildomain in customer selection",
         );
     }
     return $configOptions;