better manage of G_selfreg_tout and G_selfreg_mask vars
[brisk.git] / web / Obj / brisk.conf-templ.pho
index 92fe8ee..8d4858c 100644 (file)
@@ -1,4 +1,23 @@
 <?php
+
+if (file_exists("$DOCUMENT_ROOT/Etc/cloud_smasher.phh")) {
+    require("$DOCUMENT_ROOT/Etc/cloud_smasher.phh");
+}
+else {
+    $G_cloud_smasher = array();
+}
+
+if (file_exists("$DOCUMENT_ROOT/Etc/provider_proxy.phh")) {
+    require("$DOCUMENT_ROOT/Etc/provider_proxy.phh");
+}
+else {
+    $G_provider_proxy = array();
+}
+
+// 26 hours between 2 successive registration from this area
+$G_selfreg_mask = 0xfffff000;
+$G_selfreg_tout = 93600;
+
 // G_dbasetype value can be "pgsql" or "file"
 $G_dbasetype="pgsql";