add G_profile to config template
[brisk.git] / web / Obj / brisk.conf-templ.pho
1 <?php
2
3 if (file_exists("$DOCUMENT_ROOT/Etc/cloud_smasher.phh")) {
4     require("$DOCUMENT_ROOT/Etc/cloud_smasher.phh");
5 }
6 else {
7     $G_cloud_smasher = array();
8 }
9
10 if (file_exists("$DOCUMENT_ROOT/Etc/provider_proxy.phh")) {
11     require("$DOCUMENT_ROOT/Etc/provider_proxy.phh");
12 }
13 else {
14     $G_provider_proxy = array();
15 }
16
17 // 26 hours between 2 successive registration from this area
18 $G_selfreg_mask = 0xfffff000;
19 $G_selfreg_tout = 93600;
20 $G_notguar_code = 10114;
21
22 // G_dbasetype value can be "pgsql" or "file"
23 $G_dbasetype="pgsql";
24
25 $G_dbauth = "host=... port=... user=... password=... dbname=... options='--client_encoding=UTF8'";
26 $G_dbpfx = "bsk_";
27
28 $G_proto      = "https";
29 $G_domain     = "brisk.example.com";
30 $G_webbase    = "brisk";
31 $G_admin_mail = "admin@$G_domain";
32 $G_mail_seed  = 281741;
33
34 $G_lang = "it";
35
36 $G_crypt_key = "cryptkey";
37
38 $G_shutdown = FALSE;
39
40 // Enable basic profiling
41 $G_profile = FALSE;
42
43 // list of allowed proxies IP address (strings)
44 $G_proxy_white_list = array();
45
46 // admin passwd to send broadcast messages
47 $G_alarm_passwd = "yourpasswd";
48
49 // is local or connected to internet
50 $G_is_local = FALSE;
51
52 // splash window related vars
53 $G_with_splash = TRUE;
54 $G_splash_interval = 25200; // 3600 * 7
55 $G_splash_idx = 3;
56 $G_splash_w = 350;
57 $G_splash_h = 500;
58 $G_splash_timeout = 5000;
59 $G_splash_content = array( 'it' => 'content italico',
60                            'en' => 'content anglofico' );
61
62 // to use more then one splash content (to be reviewed)
63 $G_splash_contents = array( "a", "b");
64 $G_splash_cont_idx = 0; // (must be moved outside)
65
66 // donometer related variables
67 $G_with_donors = TRUE;
68 $G_donors_cur = 12;
69 $G_donors_all = 50;
70
71 $G_room_roadmap = '<div style=\"text-align: left;\"><ul>
72 <li>roadmap item 1</li>
73 <li>roadmap item 2</li>
74 <li>...</li>
75 </ul></div>';
76
77 // is the top banner active ?
78 $G_with_topbanner = FALSE;
79
80 $G_topbanner = '<div class="topbanner" id="topbanner" onMouseOver="show_bigpict(this, \'over\', -100, 80);" onMouseOut="show_bigpict(this, \'out\', 0, 0);">
81 <a target="_blank" href="http://www.briscolachiamatamilano.it/maggiotorneo.htm">
82 Torneo di briscola<br> chiamata - Milano<br> 17/05/2008</a>
83 </div>
84 <img class="nobohide" id="topbanner_big" src="img/bcm_tor080517.gif">';
85
86 $G_sidebanner_idx = array( 0, 1, 0 );
87
88 // sidebanners array
89 $G_sidebanner = array(
90                       array('link' => 'http://www.alternativeoutput.it/brisk/bm33/',
91                             'title' => '3° BriskMeeting \'Isola delle Femmine\' - Sabato 11 Ottobre 2014 - Palermo (PA)',
92                             'icon_big' => 'bm33/img/bm33_500.jpg'
93                             // 'type' => 'meeting' or 'event'      // (default meeting with the correct icon)
94                             // 'icon' => 'img/brisk_meeting60.gif' // (default is the regulare meeting icon)
95                             // 'dx'
96                             // 'dy'                                // displacement of the big image
97                             ),
98
99                       array('link' => 'https://www.facebook.com/events/525109597594103/',
100                             'title' => 'BriskMeeting Busseto - Terra di Verdi - Sabato 4 Ottobre - Busseto (Parma)',
101                             'icon_big' => 'bm32/img/splash.jpg'
102                             )
103                       );
104
105 // is poll active ?
106 $G_with_poll = FALSE;
107 $G_poll_name = "calcolo_punteggio";
108 $G_poll_title = "Vota come calcolare i punteggi!";
109 $G_poll_entries = array( array( 'id' => 'din', 'cont' => 'Dinner room'),
110                          array( 'id' => 'bat', 'cont' => 'Bath room'),
111                          array( 'id' => 'coo', 'cont' => 'Cooking room') );
112
113 $G_ban_list = array();   // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
114 $G_black_list = array(); // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
115
116
117 // this is the prefix path to remove from backtrace
118 $G_btrace_pref_sub = "/home/nastasi/web/";
119
120 // where documents are stored
121 $G_doc_path = "Obj/doc/";
122
123 // licence related stuff
124 $G_tos_vers = "1.2";
125 $G_tos_fname = "terms-of-service_V%s_%s.txt";
126 // USE date +%s -d 'Wed Nov 20 18:35:41 CET 2013' to calculate
127 $G_tos_dthard = 1384968941;
128 $G_tos_dtsoft = 1384968941;
129 $G_tos_idx    = 1;
130 ?>