homogenized $remote_addr and $remote_addr_full usage, add ban_list, reload() method...
[brisk.git] / web / Obj / brisk.conf-templ.pho
index 6b38d24..034dee7 100644 (file)
@@ -5,8 +5,15 @@ $G_dbasetype="pgsql";
 $G_dbauth = "host=... port=... user=... password=... dbname=... options='--client_encoding=UTF8'";
 $G_dbpfx = "bsk_";
 
+$G_domain     = "brisk.example.com";
+$G_webbase    = "brisk";
+$G_admin_mail = "admin@$G_domain";
+$G_mail_seed  = 281741;
+
 $G_lang = "it";
 
+$G_crypt_key = "cryptkey";
+
 $G_shutdown = FALSE;
 
 // list of allowed proxies IP address (strings)
@@ -76,12 +83,21 @@ $G_poll_entries = array( array( 'id' => 'din', 'cont' => 'Dinner room'),
                          array( 'id' => 'bat', 'cont' => 'Bath room'),
                          array( 'id' => 'coo', 'cont' => 'Cooking room') );
 
-$G_black_list = array();
+$G_ban_list = array();   // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
+$G_black_list = array(); // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
 
 
 // this is the prefix path to remove from backtrace
 $G_btrace_pref_sub = "/home/nastasi/web/";
 
+// where documents are stored
+$G_doc_path = "Obj/doc/";
 
-
+// licence related stuff
+$G_tos_vers = "1.2";
+$G_tos_fname = "terms-of-service_V%s_%s.txt";
+// USE date +%s -d 'Wed Nov 20 18:35:41 CET 2013' to calculate
+$G_tos_dthard = 1384968941;
+$G_tos_dtsoft = 1384968941;
+$G_tos_idx    = 1;
 ?>