-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc.php
executable file
·189 lines (159 loc) · 7.61 KB
/
config.inc.php
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 3 of the License, or
* (at your option) any later version.
*
* OXID eShop Community Edition 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 OXID eShop Community Edition. If not, see <http://www.gnu.org/licenses/>.
*
* @link http://www.oxid-esales.com
* @package main
* @copyright (C) OXID eSales AG 2003-2011
* @version OXID eShop CE
*/
/** @name database information */
$this->dbHost = 'localhost'; // database host name
$this->dbName = 'mdt'; // database name
$this->dbUser = 'root'; // database user name
$this->dbPwd = 'root'; // database user password
$this->dbType = 'mysql';
$this->sShopURL = 'http://local.mdt'; // eShop base url, required
$this->sSSLShopURL = null; // eShop SSL url, optional
$this->sAdminSSLURL = null; // eShop Admin SSL url, optional
$this->sShopDir = '/var/www/shared/superreal/oxid-demo';
$this->sCompileDir = '/var/www/shared/superreal/oxid-demo/tmp';
// UTF-8 mode in shop 0 - off, 1 - on
$this->iUtfMode = 1;
// File type whitelist for file upload
$this->aAllowedUploadTypes = array('jpg', 'gif', 'png', 'pdf', 'mp3', 'avi', 'mpg', 'mpeg', 'doc', 'xls', 'ppt');
// timezone information
date_default_timezone_set('Europe/Berlin');
// Search engine friendly URL processor
// After changing this value, you should rename oxid.php file as well
// Always leave .php extension here unless you know what you are doing
$this->sOXIDPHP = "oxid.php";
// enable debug mode for template development or bugfixing
// -1 = Logger Messages internal use only
// 0 = off
// 1 = smarty
// 2 = SQL
// 3 = SQL + smarty
// 4 = SQL + smarty + shoptemplate data
// 5 = Delivery Cost calculation info
// 6 = SMTP Debug Messages
// 7 = oxDbDebug SQL parser
$this->iDebug = 0;
// Log all modifications performed in Admin
$this->blLogChangesInAdmin = false;
// Force admin email
$this->sAdminEmail = '';
// in case session must be started on first user page visit (not only on
// session required action) set this option value 1
$this->blForceSessionStart = false;
// Use browser cookies to store session id (no sid parameter in URL)
$this->blSessionUseCookies = true;
// The domain that the cookie is available: array( _SHOP_ID_ => _DOMAIN_ );
// check setcookie() documentation for more details @php.net
$this->aCookieDomains = null;
// The path on the server in which the cookie will be available on: array( _SHOP_ID_ => _PATH_ );
// check setcookie() documentation for more details @php.net
$this->aCookiePaths = null;
// uncomment the following line if you want to leave euro sign unchanged in output
// by default is set to convert euro sign symbol to html entity
// $this->blSkipEuroReplace = true;
// List of all Search-Engine Robots
$this->aRobots = array(
'googlebot',
'ultraseek',
'crawl',
'spider',
'fireball',
'robot',
'slurp',
'fast',
'altavista',
'teoma',
'msnbot',
'bingbot',
'yandex',
'gigabot',
'scrubby'
);
// Deactivate Static URL's for these Robots
$this->aRobotsExcept = array();
// IP addresses for which session/cookie id match and user agent change checks are off
$this->aTrustedIPs = array();
/**
* Works only if basket reservations feature is enabled in admin.
*
* The number specifies how many expired basket reservations are
* cleaned per one request (to the eShop).
* Cleaning a reservation basically means returning the reserved
* stock to the articles.
*
* Keeping this number too low may cause article stock being returned too
* slowly, while too high value may have spiking impact on the performance.
*/
$this->iBasketReservationCleanPerRequest = 200;
// Trusted shops buyer protection wsdl url
$this->sTsProtectionUrl = "https://protection.trustedshops.com/ts/protectionservices/ApplicationRequestService?wsdl";
// This is only needed for testing during integration
$this->sTsTestProtectionUrl = "https://protection-qa.trustedshops.com/ts/protectionservices/ApplicationRequestService?wsdl";
// Trusted Shops Ratings login info
// Do not change credentials unless instructed otherwise by Trusted Shops!
$this->sTsUser = "oxid_esales";
$this->sTsPass = "V1AoGEXm";
// Trusted Shops Ratings configuration array
$this->aTsConfig = array( "blTestMode" => false, // set TRUE to enable testing mode
"sTsUrl" => "https://www.trustedshops.com", // Trusted Shops Rating main url
"sTsTestUrl" => "https://qa.trustedshops.com", // Trusted Shops Rating test url
"sTsWidgetUri" => array( "bewertung/widget/widgets/%s.gif" ), // rating widget url
"sTsInfoUri" => array( "de" => "bewertung/info_%s.html", // DE rating info url
"en" => "buyerrating/info_%s.html" // EN rating info url
),
"sTsRatingUri" => array( "de" => "bewertung/bewerten_%s.html", // DE rating url
"en" => "buyerrating/rate_%s.html" // EN rating url
)
);
// Trusted Shops Ratings service wsdl
$this->sTsServiceWsdl = "https://www.trustedshops.de/ts/services/TsRating?wsdl";
// Trusted Shops Ratings test service wsdl
$this->sTsServiceTestWsdl = "https://qa.trustedshops.de/ts/services/TsRating?wsdl";
/**
* should template blocks be highlighted in frontend ?
* this is mainly intended for module writers in non productive environment
*/
$this->blDebugTemplateBlocks = false;
/**
* should requests, coming via stdurl and not redirected to seo url be logged to seologs db table?
* note: only active if in productive mode, as the eShop in non productive more will always log such urls
*/
$this->blSeoLogging = false;
/**
* To override oxubase::_aUserComponentNames use this array option:
* array keys are component(class) names and array values defines if component is cacheable (true/false)
* e.g. array("user_class" => false);
*/
$this->aUserComponentNames = null;
/**
* saves subshopid in session
*/
$this->blDeprecatedSubshopsInSessions = false;
/**
* Default database conection character set
*/
$this->sDefaultDatabaseConnection = '';
/**
* Additional multi language tables
*/
$this->aMultiLangTables = null;
include('ms.config.inc.php');