forked from mgax/DEXonline
-
Notifications
You must be signed in to change notification settings - Fork 2
/
dex.conf.sample
99 lines (76 loc) · 3.09 KB
/
dex.conf.sample
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
; Configuration file for a DEX online installation
[global]
; Modules that are allowed to run and possibly serve a banner instead of the bannerType choice below.
; These will be invoked in the order they are listed until one of them serves a banner.
; If none of them has a relevant banner, we fall back to bannerType.
; adsModulesH[] = diverta
; adsModulesH[] = someOtherModule
; Type of banner to be served.
; Banner sizes are dictated by the skin. See templates/common/bits/banner.ihtml.
; Choices are "openx", "adsense", "fake" or "none".
; The option "fake" displays a placeholder banner and can be used in development/beta (so as not to steal real impressions from campaigns).
bannerType = fake
; Contact email, sprinkled throughout the site
contact = [email protected]
; Database connection
; database = 'mysql://root:pwd@localhost/mydb'
database = mysql://root@localhost/DEX
; Show some debug information when this user is logged in.
debugUser = reggie
; API key for Google search of clones
googleSearchApiKey = "Insert your API key here"
; Show our web host logo
hostedBy =
; LOC versions (for scrabble users). Each version should have a corresponding LOC_* database.
; See also mysql_loc_prefix
locVersions[] = 4.0 10/09/2007
locVersions[] = 4.1 01/11/2008
locVersions[] = 5.0 01/24/2011
locVersions[] = 6.0 current
; Whether or not to log query-related information
logSearch = 0
; Full name of the log file
logPath = /var/log/dex-query.log
; For each query, log at most this many results
; If set to zero, then log only query information, but not the results
logResults = 0
; Log this fraction of queries, sampled uniformly at random
; Possible values: 0.00 <= logSampling <= 1.00
logSampling = 0.10
; Max number of bookmarks/user
maxBookmarks = 100
; Whether to use the memcached server
memcache = 0
; If this site is a mirror, certain features will be disabled: user login, typo reporting etc.
mirror = 0
; Prefix for the LOC databases.
mysql_loc_prefix = LOC_
; Available skins
skins[] = zepu
skins[] = polar
; Location of the smarty class file.
; This can be an absolute file name or relative to one of the paths in include_path
smartyClass = smarty/Smarty.class.php
[functest]
; URL that the functional test engine will exercise
; This is the URL you normally go to in development
; baseUrl = "http://domain.com/path"
baseUrl = "http://localhost/~user/DEX/wwwbase/"
; Database to use for functional tests.
; Comment this out in production.
functestDatabase = mysql://root@localhost/DEXtest
; Lock file to use for functional tests.
; The testing infrastructure should touch this file at the beginning and delete it at the end.
; DEX online will read functestDatabase instead of database if this file exists.
; Comment this out in production.
functestLockFile = /tmp/dex-functest
[skin-zepu]
; Display banners after the search box.
adsense_mainPage = "id=1220723485&width=728&height=90"
adsense_beforeResults = "id=2401834072&width=728&height=90"
openx_mainPage = 216368
openx_beforeResults = 201501
[skin-polar]
; Display banners at the top of every page
adsense_top = "id=2054526829&width=728&height=90"
openx_top = 121346