Specifying encoding on database creation
[hcoop/domtool2.git] / src / plugins / easy_domain.sml
index dd8d71b..8a982ad 100644 (file)
@@ -26,10 +26,24 @@ val dl = ErrorMsg.dummyLoc
 
 val _ = Defaults.registerDefault ("WWW",
                                  (TAction ((CConst "Vhost", dl),
-                                           foldl (fn ((v, t, _), r) =>
-                                                     StringMap.insert (r, v, t))
-                                                 StringMap.empty Apache.defaults,
+                                           StringMap.empty,
                                            StringMap.empty), dl),
                                  (fn () => (ESkip, dl)))
 
+val _ = Defaults.registerDefault ("CreateWWW",
+                                 (TBase "bool", dl),
+                                 (fn () => (EVar "true", dl)))
+
+val _ = Defaults.registerDefault ("DefaultAlias",
+                                 (TBase "bool", dl),
+                                 (fn () => (EVar "true", dl)))
+
+val _ = Defaults.registerDefault ("HandleMail",
+                                 (TBase "bool", dl),
+                                 (fn () => (EVar "true", dl)))
+
+val _ = Defaults.registerDefault ("AddMX",
+                                 (TBase "bool", dl),
+                                 (fn () => (EVar "true", dl)))
+
 end