source: dex.conf.sample @ 668

Revision 668, 3.3 KB checked in by cata, 2 months ago (diff)

Add the developmentMode config variable (dafaults to false).
Hide trafic.ro and analytics code in development.

Line 
1; Configuration file for a DEX online installation
2
3[global]
4; Modules that are allowed to run and possibly serve a banner instead of the bannerType choice below.
5; These will be invoked in the order they are listed until one of them serves a banner.
6; If none of them has a relevant banner, we fall back to bannerType.
7; adsModulesH[] = diverta
8; adsModulesH[] = someOtherModule
9
10; Type of banner to be served.
11; Banner sizes are dictated by the skin. See templates/common/bits/banner.ihtml.
12; Choices are "openx", "openx-local", "adsense", "fake" or "none".
13; The option "fake" displays a placeholder banner and can be used in development/beta (so as not to steal real impressions from campaigns).
14bannerType = fake
15
16; Contact email, sprinkled throughout the site
17contact = contact@dexonline.ro
18
19; Database connection
20; database = 'mysql://root:pwd@localhost/mydb'
21database = mysql://root@localhost/DEX
22
23; Show some debug information when this user is logged in.
24debugUser = reggie
25
26; True on development installations. Mainly used to hide the trafic.ro / Google analytics code
27developmentMode = 0
28
29; API key for Google search of clones
30googleSearchApiKey = "Insert your API key here"
31
32; Show our web host logo
33hostedBy =
34
35; LOC versions (for scrabble users). Each version should have a corresponding LOC_* database.
36; See also mysql_loc_prefix
37locVersions[] = 4.0 10/09/2007
38locVersions[] = 4.1 01/11/2008
39locVersions[] = 5.0 01/24/2011
40locVersions[] = 6.0 current
41
42; Whether or not to log query-related information
43logSearch = 0
44
45; Full name of the log file
46logPath = /var/log/dex-query.log
47
48; For each query, log at most this many results
49; If set to zero, then log only query information, but not the results
50logResults = 0
51
52; Log this fraction of queries, sampled uniformly at random
53; Possible values: 0.00 <= logSampling <= 1.00
54logSampling = 0.10
55
56; Max number of bookmarks/user
57maxBookmarks = 100
58
59; Whether to use the memcached server
60memcache = 0
61
62; If this site is a mirror, certain features will be disabled: user login, typo reporting etc.
63mirror = 0
64
65; Prefix for the LOC databases.
66mysql_loc_prefix = LOC_
67
68; Available skins
69skins[] = zepu
70skins[] = polar
71
72; Location of the smarty class file.
73; This can be an absolute file name or relative to one of the paths in include_path
74smartyClass = smarty/Smarty.class.php
75
76[functest]
77; URL that the functional test engine will exercise
78; This is the URL you normally go to in development
79; baseUrl = "http://domain.com/path"
80baseUrl = "http://localhost/~user/DEX/wwwbase/"
81
82; Database to use for functional tests.
83; Comment this out in production.
84functestDatabase = mysql://root@localhost/DEXtest
85
86; Lock file to use for functional tests.
87; The testing infrastructure should touch this file at the beginning and delete it at the end.
88; DEX online will read functestDatabase instead of database if this file exists.
89; Comment this out in production.
90functestLockFile = /tmp/dex-functest
91
92[skin-zepu]
93; Display banners after the search box.
94adsense_mainPage = "id=1220723485&width=728&height=90"
95adsense_otherPages = "id=2401834072&width=728&height=90"
96openx_mainPage = 216368
97openx_otherPages = 201501
98openxLocal_mainPage = 1
99openxLocal_otherPages = 2
100
101[skin-polar]
102; Display banners at the top of every page
103adsense_otherSkins = "id=2054526829&width=728&height=90"
104openx_otherSkins = 121346
105openxLocal_otherSkins = 3
Note: See TracBrowser for help on using the repository browser.