add G_profile to config template
[brisk.git] / web / Obj / brisk.conf-templ.pho
index 90a2dc1..f2486fd 100644 (file)
@@ -1,25 +1,31 @@
 <?php
 
 if (file_exists("$DOCUMENT_ROOT/Etc/cloud_smasher.phh")) {
-    require_once("$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_once("$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_notguar_code = 10114;
+
 // G_dbasetype value can be "pgsql" or "file"
 $G_dbasetype="pgsql";
 
 $G_dbauth = "host=... port=... user=... password=... dbname=... options='--client_encoding=UTF8'";
 $G_dbpfx = "bsk_";
 
+$G_proto      = "https";
 $G_domain     = "brisk.example.com";
 $G_webbase    = "brisk";
 $G_admin_mail = "admin@$G_domain";
@@ -31,6 +37,9 @@ $G_crypt_key = "cryptkey";
 
 $G_shutdown = FALSE;
 
+// Enable basic profiling
+$G_profile = FALSE;
+
 // list of allowed proxies IP address (strings)
 $G_proxy_white_list = array();