| 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). |
|---|
| 14 | bannerType = fake |
|---|
| 15 | |
|---|
| 16 | ; Contact email, sprinkled throughout the site |
|---|
| 17 | contact = contact@dexonline.ro |
|---|
| 18 | |
|---|
| 19 | ; Database connection |
|---|
| 20 | ; database = 'mysql://root:pwd@localhost/mydb' |
|---|
| 21 | database = mysql://root@localhost/DEX |
|---|
| 22 | |
|---|
| 23 | ; Show some debug information when this user is logged in. |
|---|
| 24 | debugUser = reggie |
|---|
| 25 | |
|---|
| 26 | ; True on development installations. Mainly used to hide the trafic.ro / Google analytics code |
|---|
| 27 | developmentMode = 0 |
|---|
| 28 | |
|---|
| 29 | ; API key for Google search of clones |
|---|
| 30 | googleSearchApiKey = "Insert your API key here" |
|---|
| 31 | |
|---|
| 32 | ; Show our web host logo |
|---|
| 33 | hostedBy = |
|---|
| 34 | |
|---|
| 35 | ; LOC versions (for scrabble users). Each version should have a corresponding LOC_* database. |
|---|
| 36 | ; See also mysql_loc_prefix |
|---|
| 37 | locVersions[] = 4.0 10/09/2007 |
|---|
| 38 | locVersions[] = 4.1 01/11/2008 |
|---|
| 39 | locVersions[] = 5.0 01/24/2011 |
|---|
| 40 | locVersions[] = 6.0 current |
|---|
| 41 | |
|---|
| 42 | ; Whether or not to log query-related information |
|---|
| 43 | logSearch = 0 |
|---|
| 44 | |
|---|
| 45 | ; Full name of the log file |
|---|
| 46 | logPath = /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 |
|---|
| 50 | logResults = 0 |
|---|
| 51 | |
|---|
| 52 | ; Log this fraction of queries, sampled uniformly at random |
|---|
| 53 | ; Possible values: 0.00 <= logSampling <= 1.00 |
|---|
| 54 | logSampling = 0.10 |
|---|
| 55 | |
|---|
| 56 | ; Max number of bookmarks/user |
|---|
| 57 | maxBookmarks = 100 |
|---|
| 58 | |
|---|
| 59 | ; Whether to use the memcached server |
|---|
| 60 | memcache = 0 |
|---|
| 61 | |
|---|
| 62 | ; If this site is a mirror, certain features will be disabled: user login, typo reporting etc. |
|---|
| 63 | mirror = 0 |
|---|
| 64 | |
|---|
| 65 | ; Prefix for the LOC databases. |
|---|
| 66 | mysql_loc_prefix = LOC_ |
|---|
| 67 | |
|---|
| 68 | ; Available skins |
|---|
| 69 | skins[] = zepu |
|---|
| 70 | skins[] = 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 |
|---|
| 74 | smartyClass = 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" |
|---|
| 80 | baseUrl = "http://localhost/~user/DEX/wwwbase/" |
|---|
| 81 | |
|---|
| 82 | ; Database to use for functional tests. |
|---|
| 83 | ; Comment this out in production. |
|---|
| 84 | functestDatabase = 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. |
|---|
| 90 | functestLockFile = /tmp/dex-functest |
|---|
| 91 | |
|---|
| 92 | [skin-zepu] |
|---|
| 93 | ; Display banners after the search box. |
|---|
| 94 | adsense_mainPage = "id=1220723485&width=728&height=90" |
|---|
| 95 | adsense_otherPages = "id=2401834072&width=728&height=90" |
|---|
| 96 | openx_mainPage = 216368 |
|---|
| 97 | openx_otherPages = 201501 |
|---|
| 98 | openxLocal_mainPage = 1 |
|---|
| 99 | openxLocal_otherPages = 2 |
|---|
| 100 | |
|---|
| 101 | [skin-polar] |
|---|
| 102 | ; Display banners at the top of every page |
|---|
| 103 | adsense_otherSkins = "id=2054526829&width=728&height=90" |
|---|
| 104 | openx_otherSkins = 121346 |
|---|
| 105 | openxLocal_otherSkins = 3 |
|---|