-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
141 lines (111 loc) · 6.26 KB
/
config.php
File metadata and controls
141 lines (111 loc) · 6.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?php
// +--------------------------------------------------------------------------+
// | GUS Plugin for glFusion CMS |
// +--------------------------------------------------------------------------+
// | config.php |
// +--------------------------------------------------------------------------+
// | $Id:: config.php.dist 17 2009-01-26 01:44:13Z mark $|
// +--------------------------------------------------------------------------+
// | |
// | Based on the GUS Plugin for Geeklog CMS |
// | Copyright (C) 2002, 2003, 2005 by the following authors: |
// | |
// | Authors: Andy Maloney - asmaloney@users.sf.net |
// | Tom Willett - twillett@users.sourceforge.net |
// | John Hughes - jlhughes@users.sf.net |
// +--------------------------------------------------------------------------+
// | |
// | This program is free software; you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License |
// | as published by the Free Software Foundation; either version 2 |
// | of the License, or (at your option) any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software Foundation, |
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +--------------------------------------------------------------------------+
if (!defined ('GVERSION')) {
die ('This file can not be used on its own.');
}
// The method to use for host name lookup - can be 'host', 'nslookup', 'gethostbyaddr', or 'none'
// If your system is set up such that you cannot execute shell commands, use 'gethostbyaddr'.
$_GUS_CONF['host_lookup'] = 'gethostbyaddr';
// sets the timeout for host name lookup using 'host' or 'nslookup' [minimum 1 second]
$_GUS_CONF['host_lookup_timeout'] = 1;
// Set this to false if you know you cannot use temporary tables in your MySQL setup.
// If you aren't sure, then leave it set to true - everything will still work properly.
// This is only used as a slight optimization - it doesn't have to try to use TEMPORARY tables first.
$_GUS_CONF['SQL_use_TEMPORARY'] = true;
// Set these to show or hide the left and right blocks
$_GUS_CONF['show_left_blocks'] = true;
$_GUS_CONF['show_right_blocks'] = false;
// Set this to true if you want to be able to ignore the user 'Anonymous'
// Leaving it false allows a slight optimisation by eliminating a db lookup
$_GUS_CONF['allow_ignore_anonymous'] = false;
// Set this to the referrers you DO NOT want to show up in the day summary.
// Note that the data is still collected, it is just not visible in the day summary.
$_GUS_CONF['hide_in_day_summary'] = array(
$_CONF['site_url']
// , 'http://images.google.com' // hide all images.google.com referrers
// , 'http://images.google.' // hide all images.google.* referrers
);
// This the URL for the Whois lookup. This uses www.whois.sc
// If you have an alternate source of this information supply it here.
$_GUS_Whois_URL_start = '<a href="http://www.whois.sc/';
$_GUS_Whois_URL_end = '" target="_blank">';
// The icon to use for the GUS pages - located in the public_html/gus/images/ directory
$_GUS_IMG_name = "GUS48.png";
$_GUS_IMG_small_name = "GUS24.png";
// Enable anononymous access to summary stats
$_GUS_anon_access = 1;
// Show a link in the main menu if user has permission to access the stats
$_GUS_enable_main_menu_GUS = 1;
// Show a link to the privacy policy in the main menu
$_GUS_enable_main_menu_privacy_policy = 0;
// Set to 1 to enable user stats menu option in the 'User Functions' block
$_GUS_user = 1;
// Set to 1 to extend the regular glFusion stats page to include 'Unique Visitors' and 'Registered Users'
$_GUS_stats = 1;
// Set to 1 to enable phplinks integration
$_GUS_phplinks = 0;
// Limit on number of lines to display on certain stats reports
$_GUS_limit = 25;
// Number of months displayed on the index page
$_GUS_months = 4;
// Number of days on each page
$_GUS_days = 31;
// Enable the caching of stats
$_GUS_cache = true;
// The following variables allow custom configuration of WhosOnline Block.
// If set to true then the full name is displayed if available instead of username
$_GUS_CONF['wo_fullname'] = false;
// If set to true, show only a count of users for Who's Online, Registered Users, and New Users to anon users
$_GUS_CONF['wo_users_anonymous'] = true;
// If set to true, show a list of who's online
$_GUS_CONF['wo_online'] = true;
// If set to true, then show bots as they access your site
$_GUS_CONF['wo_show_bots'] = true;
// If set to true, show Registered users
$_GUS_CONF['wo_registered'] = true;
// If set to true, show New users
$_GUS_CONF['wo_new'] = true;
// If set to true, show daily usage stats
$_GUS_CONF['wo_daily'] = true;
// If set to true, show referrers
$_GUS_CONF['wo_refs'] = false;
// Set this to the referrers you DO NOT want to show up in the Who's Online block.
// Note that the data is still collected, it is just not visible in the block.
$_GUS_CONF['wo_hide_referrers'] = array(
$_CONF['site_url']
// , 'http://images.google.com' // hide all images.google.com referrers
// , 'http://images.google.' // hide all images.google.* referrers
);
// Maximum number of referrers to show
$_GUS_CONF['wo_max_referrers'] = 100;
?>