1 | <?php |
---|
2 | /** Related to front display */ |
---|
3 | define('SAMPLE_ADDRESS1', "Municipality name (Example: Sunnyvale, CA 94085 USA)"); |
---|
4 | /** Related to front display */ |
---|
5 | define('SAMPLE_ADDRESS2', "House number/building name (Example: 440 North Wolfe Road)"); |
---|
6 | /** User file saving destination */ |
---|
7 | define('USER_DIR', "user_data/"); |
---|
8 | /** User file saving destination */ |
---|
9 | define('USER_REALDIR', HTML_REALDIR . USER_DIR); |
---|
10 | /** User creation page, etc. */ |
---|
11 | define('USER_URL', HTTP_URL . USER_DIR); |
---|
12 | /** Authentication method */ |
---|
13 | define('AUTH_TYPE', "HMAC"); |
---|
14 | /** Template file saving destination */ |
---|
15 | define('USER_PACKAGE_DIR', "packages/"); |
---|
16 | /** Template file saving destination */ |
---|
17 | define('USER_TEMPLATE_REALDIR', USER_REALDIR . USER_PACKAGE_DIR); |
---|
18 | /** Temporary saving of template file */ |
---|
19 | define('TEMPLATE_TEMP_REALDIR', HTML_REALDIR . "upload/temp_template/"); |
---|
20 | /** Default PHP file for user creation screen */ |
---|
21 | define('USER_DEF_PHP_REALFILE', USER_REALDIR . "__default.php"); |
---|
22 | /** Downloaded module storage directory */ |
---|
23 | define('MODULE_DIR', "downloads/module/"); |
---|
24 | /** Downloaded module storage directory */ |
---|
25 | define('MODULE_REALDIR', DATA_REALDIR . MODULE_DIR); |
---|
26 | /** Validity period of DB session (seconds) */ |
---|
27 | define('MAX_LIFETIME', 7200); |
---|
28 | /** Master data cache directory */ |
---|
29 | define('MASTER_DATA_REALDIR', DATA_REALDIR . "cache/"); |
---|
30 | /** Update management file storage location */ |
---|
31 | define('UPDATE_HTTP', ""); |
---|
32 | /** Language code */ |
---|
33 | define('LANG_CODE', "en-US"); |
---|
34 | /** Text code */ |
---|
35 | define('CHAR_CODE', "UTF-8"); |
---|
36 | /** Locale settings */ |
---|
37 | define('LOCALE', "en_US.UTF-8"); |
---|
38 | /** Phrase granted to payment module */ |
---|
39 | define('ECCUBE_PAYMENT', "EC-CUBE"); |
---|
40 | /** PEAR::DB debug mode */ |
---|
41 | define('PEAR_DB_DEBUG', 0); |
---|
42 | /** PEAR::DB persistent option */ |
---|
43 | define('PEAR_DB_PERSISTENT', false); |
---|
44 | /** Designation of cutoff date (if last day of the month, specify 31.) */ |
---|
45 | define('CLOSE_DAY', 31); |
---|
46 | /** General site error */ |
---|
47 | define('FAVORITE_ERROR', 13); |
---|
48 | /** Graph storage directory */ |
---|
49 | define('GRAPH_REALDIR', HTML_REALDIR . "upload/graph_image/"); |
---|
50 | /** Graph URL */ |
---|
51 | define('GRAPH_URLPATH', ROOT_URLPATH . "upload/graph_image/"); |
---|
52 | /** Maximum display count in pie chart */ |
---|
53 | define('GRAPH_PIE_MAX', 10); |
---|
54 | /** Character count of label for graph */ |
---|
55 | define('GRAPH_LABEL_MAX', 40); |
---|
56 | /** Up to how many do you want to display in product tabulation? */ |
---|
57 | define('PRODUCTS_TOTAL_MAX', 15); |
---|
58 | /** 1: Disclosed 2: Not disclosed */ |
---|
59 | define('DEFAULT_PRODUCT_DISP', 2); |
---|
60 | /** Quantity of products purchased with free shipping (if 0, shipping is not free regardless of the quantity purchased) */ |
---|
61 | define('DELIV_FREE_AMOUNT', 0); |
---|
62 | /** Delivery charge settings screen display (active: 1 inactive: 0) */ |
---|
63 | define('INPUT_DELIV_FEE', 1); |
---|
64 | /** Shipping cost settings for each product (active: 1 inactive: 0) */ |
---|
65 | define('OPTION_PRODUCT_DELIV_FEE', 0); |
---|
66 | /** Add delivery charges for each delivery company (active: 1 inactive: 0) */ |
---|
67 | define('OPTION_DELIV_FEE', 1); |
---|
68 | /** Recommended product registration (active: 1 inactive: 0) */ |
---|
69 | define('OPTION_RECOMMEND', 1); |
---|
70 | /** Product specification registration (active: 1 inactive: 0) */ |
---|
71 | define('OPTION_CLASS_REGIST', 1); |
---|
72 | /** Revision of member registration (MY page) for password */ |
---|
73 | define('DEFAULT_PASSWORD', "******"); |
---|
74 | /** Maximum number of separate shipping destinations registered */ |
---|
75 | define('DELIV_ADDR_MAX', 20); |
---|
76 | /** Response status management screen list display quantity */ |
---|
77 | define('ORDER_STATUS_MAX', 50); |
---|
78 | /** Maximum number of front review writings */ |
---|
79 | define('REVIEW_REGIST_MAX', 5); |
---|
80 | /** Debug mode (true: sfPrintR and DB error message, the log level outputs a Debug log, false: not output) */ |
---|
81 | define('DEBUG_MODE', false); |
---|
82 | /** Do you want to make the log wordy? (true: Use, false: Do not use) */ |
---|
83 | define('USE_VERBOSE_LOG', DEBUG_MODE); |
---|
84 | /** Management user ID (not displayed for maintenance.) */ |
---|
85 | define('ADMIN_ID', "1"); |
---|
86 | /** Do you want to send a temporary member confirmation e-mail when registering as a member? (true: Temporary member, false: Full member) */ |
---|
87 | define('CUSTOMER_CONFIRM_MAIL', false); |
---|
88 | /** Login screen frame */ |
---|
89 | define('LOGIN_FRAME', "login_frame.tpl"); |
---|
90 | /** Management screen frame */ |
---|
91 | define('MAIN_FRAME', "main_frame.tpl"); |
---|
92 | /** General site screen frame */ |
---|
93 | define('SITE_FRAME', "site_frame.tpl"); |
---|
94 | /** Authentication character example */ |
---|
95 | define('CERT_STRING', "7WDhcBTF"); |
---|
96 | /** Date of birth Registration start year */ |
---|
97 | define('BIRTH_YEAR', 1901); |
---|
98 | /** Year in which this system started operating */ |
---|
99 | define('RELEASE_YEAR', 2005); |
---|
100 | /** Credit card expiration + years */ |
---|
101 | define('CREDIT_ADD_YEAR', 10); |
---|
102 | /** Point calculation rule (1: Round off, 2: Truncated, 3: Round up) */ |
---|
103 | define('POINT_RULE', 2); |
---|
104 | /** Price per point ($) */ |
---|
105 | define('POINT_VALUE', 1); |
---|
106 | /** Management mode 1: Active 0: Inactive (during delivery) */ |
---|
107 | define('ADMIN_MODE', 0); |
---|
108 | /** Maximum number of log files (Log rotation) */ |
---|
109 | define('MAX_LOG_QUANTITY', 5); |
---|
110 | /** Maximum capacity stored in a single log file (byte) */ |
---|
111 | define('MAX_LOG_SIZE', "1000000"); |
---|
112 | /** Transaction ID name */ |
---|
113 | define('TRANSACTION_ID_NAME', "transactionid"); |
---|
114 | /** Do you want a confirmation e-mail regarding your forgotten password sent to you? (0: Do not send, 1: Send) */ |
---|
115 | define('FORGOT_MAIL', 0); |
---|
116 | /** Points for birthday month */ |
---|
117 | define('BIRTH_MONTH_POINT', 0); |
---|
118 | /** Enlarged image horizontal */ |
---|
119 | define('LARGE_IMAGE_WIDTH', 500); |
---|
120 | /** Enlarged image vertical */ |
---|
121 | define('LARGE_IMAGE_HEIGHT', 500); |
---|
122 | /** List image horizontal */ |
---|
123 | define('SMALL_IMAGE_WIDTH', 130); |
---|
124 | /** List image vertical */ |
---|
125 | define('SMALL_IMAGE_HEIGHT', 130); |
---|
126 | /** Normal image length */ |
---|
127 | define('NORMAL_IMAGE_WIDTH', 260); |
---|
128 | /** Normal image height */ |
---|
129 | define('NORMAL_IMAGE_HEIGHT', 260); |
---|
130 | /** Normal subimage length */ |
---|
131 | define('NORMAL_SUBIMAGE_WIDTH', 200); |
---|
132 | /** Normal subimage height */ |
---|
133 | define('NORMAL_SUBIMAGE_HEIGHT', 200); |
---|
134 | /** Enlarge sub image horizontal */ |
---|
135 | define('LARGE_SUBIMAGE_WIDTH', 500); |
---|
136 | /** Enlarge sub image vertical */ |
---|
137 | define('LARGE_SUBIMAGE_HEIGHT', 500); |
---|
138 | /** Image key restriction (KB) */ |
---|
139 | define('IMAGE_SIZE', 1000); |
---|
140 | /** CSV size restriction (KB) */ |
---|
141 | define('CSV_SIZE', 2000); |
---|
142 | /** Maximum number of characters per line for CSV upload */ |
---|
143 | define('CSV_LINE_MAX', 10000); |
---|
144 | /** File management screen upload restrictions (KB) */ |
---|
145 | define('FILE_SIZE', 10000); |
---|
146 | /** Restrictions for template files that can be uploaded (KB) */ |
---|
147 | define('TEMPLATE_SIZE', 10000); |
---|
148 | /** Maximum hierarchy for category */ |
---|
149 | define('LEVEL_MAX', 5); |
---|
150 | /** Maximum number of categories that can be registered */ |
---|
151 | define('CATEGORY_MAX', 1000); |
---|
152 | /** Management function title */ |
---|
153 | define('ADMIN_TITLE', "EC-CUBE management function"); |
---|
154 | /** Emphasized display color during editing */ |
---|
155 | define('SELECT_RGB', "#ffffdf"); |
---|
156 | /** Display color when input items are inactive */ |
---|
157 | define('DISABLED_RGB', "#C9C9C9"); |
---|
158 | /** Displayed color during an error */ |
---|
159 | define('ERR_COLOR', "#ffe8e8"); |
---|
160 | /** New category display characters */ |
---|
161 | define('CATEGORY_HEAD', ">"); |
---|
162 | /** Date of birth Initially selected year */ |
---|
163 | define('START_BIRTH_YEAR', 1970); |
---|
164 | /** Price name */ |
---|
165 | define('NORMAL_PRICE_TITLE', "Normal price"); |
---|
166 | /** Price name */ |
---|
167 | define('SALE_PRICE_TITLE', "Sales price"); |
---|
168 | /** Standard log file */ |
---|
169 | define('LOG_REALFILE', DATA_REALDIR . "logs/site.log"); |
---|
170 | /** Member login log file */ |
---|
171 | define('CUSTOMER_LOG_REALFILE', DATA_REALDIR . "logs/customer.log"); |
---|
172 | /** Management function log file */ |
---|
173 | define('ADMIN_LOG_REALFILE', DATA_REALDIR . "logs/admin.log"); |
---|
174 | /** Debug log file (not input: Standard log file/control screen log file) */ |
---|
175 | define('DEBUG_LOG_REALFILE', ""); |
---|
176 | /** Error log file (not input: standard log file/management screen log file) */ |
---|
177 | define('ERROR_LOG_REALFILE', DATA_REALDIR . "logs/error.log"); |
---|
178 | /** DB log file */ |
---|
179 | define('DB_LOG_REALFILE', DATA_REALDIR . "logs/db.log"); |
---|
180 | /** Temporary saving of image */ |
---|
181 | define('IMAGE_TEMP_REALDIR', HTML_REALDIR . "upload/temp_image/"); |
---|
182 | /** Image saving destination */ |
---|
183 | define('IMAGE_SAVE_REALDIR', HTML_REALDIR . "upload/save_image/"); |
---|
184 | /** URL for temporary saving of image */ |
---|
185 | define('IMAGE_TEMP_URLPATH', ROOT_URLPATH . "upload/temp_image/"); |
---|
186 | /** URL for image saving destination */ |
---|
187 | define('IMAGE_SAVE_URLPATH', ROOT_URLPATH . "upload/save_image/"); |
---|
188 | /** RSS image temporary storage URL */ |
---|
189 | define('IMAGE_TEMP_RSS_URL', HTTP_URL . "upload/temp_image/"); |
---|
190 | /** RSS image saving destination URL */ |
---|
191 | define('IMAGE_SAVE_RSS_URL', HTTP_URL . "upload/save_image/"); |
---|
192 | /** Temporary saving destination of encoded CSV */ |
---|
193 | define('CSV_TEMP_REALDIR', DATA_REALDIR . "upload/csv/"); |
---|
194 | /** Displayed where there is no image */ |
---|
195 | define('NO_IMAGE_REALFILE', USER_TEMPLATE_REALDIR . "default_en/img/picture/img_blank.gif"); |
---|
196 | /** System management top */ |
---|
197 | define('ADMIN_SYSTEM_URLPATH', ROOT_URLPATH . ADMIN_DIR . "system/" . DIR_INDEX_PATH); |
---|
198 | /** Postal code input */ |
---|
199 | define('INPUT_ZIP_URLPATH', ROOT_URLPATH . "input_zip.php"); |
---|
200 | /** Home */ |
---|
201 | define('ADMIN_HOME_URLPATH', ROOT_URLPATH . ADMIN_DIR . "home.php"); |
---|
202 | /** Login page */ |
---|
203 | define('ADMIN_LOGIN_URLPATH', ROOT_URLPATH . ADMIN_DIR . DIR_INDEX_PATH); |
---|
204 | /** Product search page */ |
---|
205 | define('ADMIN_PRODUCTS_URLPATH', ROOT_URLPATH . ADMIN_DIR . "products/" . DIR_INDEX_PATH); |
---|
206 | /** Order editing page */ |
---|
207 | define('ADMIN_ORDER_EDIT_URLPATH', ROOT_URLPATH . ADMIN_DIR . "order/edit.php"); |
---|
208 | /** Order editing page */ |
---|
209 | define('ADMIN_ORDER_URLPATH', ROOT_URLPATH . ADMIN_DIR . "order/" . DIR_INDEX_PATH); |
---|
210 | /** Order editing page */ |
---|
211 | define('ADMIN_ORDER_MAIL_URLPATH', ROOT_URLPATH . ADMIN_DIR . "order/mail.php"); |
---|
212 | /** Logout page */ |
---|
213 | define('ADMIN_LOGOUT_URLPATH', ROOT_URLPATH . ADMIN_DIR . "logout.php"); |
---|
214 | /** Number of lines displayed on member management page */ |
---|
215 | define('MEMBER_PMAX', 10); |
---|
216 | /** Number of lines for search page display */ |
---|
217 | define('SEARCH_PMAX', 10); |
---|
218 | /** Maximum display quantity for page number */ |
---|
219 | define('NAVI_PMAX', 4); |
---|
220 | /** Maximum number of product subinformation */ |
---|
221 | define('PRODUCTSUB_MAX', 5); |
---|
222 | /** Maximum number of delivery times displayed */ |
---|
223 | define('DELIVTIME_MAX', 16); |
---|
224 | /** Maximum display count for delivery charge */ |
---|
225 | define('DELIVFEE_MAX', 47); |
---|
226 | /** Character count of short items (names, etc.) */ |
---|
227 | define('STEXT_LEN', 50); |
---|
228 | define('SMTEXT_LEN', 100); |
---|
229 | /** Character count of long items (addresses, etc.) */ |
---|
230 | define('MTEXT_LEN', 200); |
---|
231 | /** Character count of long and medium-length text (inquiries, etc.) */ |
---|
232 | define('MLTEXT_LEN', 1000); |
---|
233 | /** Character count of long text */ |
---|
234 | define('LTEXT_LEN', 3000); |
---|
235 | /** Character count of ultralong text (mail magazines, etc.) */ |
---|
236 | define('LLTEXT_LEN', 99999); |
---|
237 | /** URL character length */ |
---|
238 | define('URL_LEN', 1024); |
---|
239 | /** For management screen: Maximum character count for ID/password */ |
---|
240 | define('ID_MAX_LEN', STEXT_LEN); |
---|
241 | /** For management screen: Minimum number of characters for ID and password */ |
---|
242 | define('ID_MIN_LEN', 4); |
---|
243 | /** Number of digits for amount */ |
---|
244 | define('PRICE_LEN', 8); |
---|
245 | /** the number of digits following the point */ |
---|
246 | define('PERCENTAGE_LEN', 3); |
---|
247 | /** Inventory count, Number of sales restrictions */ |
---|
248 | define('AMOUNT_LEN', 6); |
---|
249 | /** Postal code 1 */ |
---|
250 | define('ZIP01_LEN', 3); |
---|
251 | /** Postal code 2 */ |
---|
252 | define('ZIP02_LEN', 4); |
---|
253 | /** Various item restrictions for telephone numbers */ |
---|
254 | define('TEL_ITEM_LEN', 6); |
---|
255 | /** Total number of telephone numbers */ |
---|
256 | define('TEL_LEN', 12); |
---|
257 | /** Front screen: Minimum character count for password */ |
---|
258 | define('PASSWORD_MIN_LEN', 4); |
---|
259 | /** Front screen: Maximum character count for password */ |
---|
260 | define('PASSWORD_MAX_LEN', STEXT_LEN); |
---|
261 | /** Number of digits for test values (INT) */ |
---|
262 | define('INT_LEN', 9); |
---|
263 | /** Character count for credit card (*Used in module) */ |
---|
264 | define('CREDIT_NO_LEN', 4); |
---|
265 | /** Search category maximum display character count (byte) */ |
---|
266 | define('SEARCH_CATEGORY_LEN', 18); |
---|
267 | /** File name display character count */ |
---|
268 | define('FILE_NAME_LEN', 10); |
---|
269 | /** zipcode character count */ |
---|
270 | define('ZIPCODE_LEN', 10); |
---|
271 | /** Cookie retention time (days) */ |
---|
272 | define('COOKIE_EXPIRE', 365); |
---|
273 | /** Category delimiter */ |
---|
274 | define('SEPA_CATNAVI', " > "); |
---|
275 | /** Member information input */ |
---|
276 | define('SHOPPING_URL', HTTPS_URL . "shopping/" . DIR_INDEX_PATH); |
---|
277 | /** Top of member registration page */ |
---|
278 | define('ENTRY_URL', HTTPS_URL . "entry/" . DIR_INDEX_PATH); |
---|
279 | /** Site top */ |
---|
280 | define('TOP_URLPATH', ROOT_URLPATH . DIR_INDEX_PATH); |
---|
281 | /** Cart top */ |
---|
282 | define('CART_URLPATH', ROOT_URLPATH . "cart/" . DIR_INDEX_PATH); |
---|
283 | /** Delivery destination settings */ |
---|
284 | define('DELIV_URLPATH', ROOT_URLPATH . "shopping/deliv.php"); |
---|
285 | /** Settings for multiple delivery destinations */ |
---|
286 | define('MULTIPLE_URLPATH', ROOT_URLPATH . "shopping/multiple.php"); |
---|
287 | /** Purchase confirmation page */ |
---|
288 | define('SHOPPING_CONFIRM_URLPATH', ROOT_URLPATH . "shopping/confirm.php"); |
---|
289 | /** Payment method selection page */ |
---|
290 | define('SHOPPING_PAYMENT_URLPATH', ROOT_URLPATH . "shopping/payment.php"); |
---|
291 | /** Purchase completion screen */ |
---|
292 | define('SHOPPING_COMPLETE_URLPATH', ROOT_URLPATH . "shopping/complete.php"); |
---|
293 | /** Screen for module addition */ |
---|
294 | define('SHOPPING_MODULE_URLPATH', ROOT_URLPATH . "shopping/load_payment_module.php"); |
---|
295 | /** Product details (HTML output) */ |
---|
296 | define('P_DETAIL_URLPATH', ROOT_URLPATH . "products/detail.php?product_id="); |
---|
297 | /** My page delivery destination URL */ |
---|
298 | define('MYPAGE_DELIVADDR_URLPATH', ROOT_URLPATH . "mypage/delivery.php"); |
---|
299 | /** New information management screen Start year (A.D.) */ |
---|
300 | define('ADMIN_NEWS_STARTYEAR', 2005); |
---|
301 | /** Reinitiation restriction time (units: hours) */ |
---|
302 | define('ENTRY_LIMIT_HOUR', 1); |
---|
303 | /** Related product display number */ |
---|
304 | define('RECOMMEND_PRODUCT_MAX', 6); |
---|
305 | /** Recommended product display number */ |
---|
306 | define('RECOMMEND_NUM', 8); |
---|
307 | /** Maximum number of days displayed on pull-down menu after date on which delivery is possible */ |
---|
308 | define('DELIV_DATE_END_MAX', 21); |
---|
309 | /** Payment deadline (*Used in module) */ |
---|
310 | define('CV_PAYMENT_LIMIT', 14); |
---|
311 | /** Allow or not allow writing of URLs in product reviews */ |
---|
312 | define('REVIEW_ALLOW_URL', 0); |
---|
313 | /** Will site information be transmitted when updating? */ |
---|
314 | define('UPDATE_SEND_SITE_INFO', false); |
---|
315 | /** Do you want to use points? (true: Use, false: Do not use) (false is partially supported) */ |
---|
316 | define('USE_POINT', true); |
---|
317 | /** Non-display of products with no inventory (true: Not displayed, false: Displayed) */ |
---|
318 | define('NOSTOCK_HIDDEN', false); |
---|
319 | /** Do you want to use the mobile site? (true: Use, false: Do not use) (false is partially supported) (*Used in module) */ |
---|
320 | define('USE_MOBILE', true); |
---|
321 | /** Do you want to use the multiple shipping destination designation function? (true: Use, false: Do not use) */ |
---|
322 | define('USE_MULTIPLE_SHIPPING', true); |
---|
323 | /** Character count of short text */ |
---|
324 | define('SLTEXT_LEN', 500); |
---|
325 | /** Default template name (PC) */ |
---|
326 | define('DEFAULT_TEMPLATE_NAME', "default_en-US"); |
---|
327 | /** Default template name (mobile) */ |
---|
328 | define('MOBILE_DEFAULT_TEMPLATE_NAME', "mobile"); |
---|
329 | /** Default template name (smartphone) */ |
---|
330 | define('SMARTPHONE_DEFAULT_TEMPLATE_NAME', "sphone_en-US"); |
---|
331 | /** Template name */ |
---|
332 | define('TEMPLATE_NAME', "default_en-US"); |
---|
333 | /** Mobile template name */ |
---|
334 | define('MOBILE_TEMPLATE_NAME', "mobile"); |
---|
335 | /** Smartphone template name */ |
---|
336 | define('SMARTPHONE_TEMPLATE_NAME', "sphone_en-US"); |
---|
337 | /** SMARTY template */ |
---|
338 | define('SMARTY_TEMPLATES_REALDIR', DATA_REALDIR . "Smarty/templates/"); |
---|
339 | /** SMARTY template (PC) */ |
---|
340 | define('TEMPLATE_REALDIR', SMARTY_TEMPLATES_REALDIR . TEMPLATE_NAME . "/"); |
---|
341 | /** SMARTY template (management function) */ |
---|
342 | define('TEMPLATE_ADMIN_REALDIR', SMARTY_TEMPLATES_REALDIR . "admin/"); |
---|
343 | /** SMARTY compile */ |
---|
344 | define('COMPILE_REALDIR', DATA_REALDIR . "Smarty/templates_c/" . TEMPLATE_NAME . "/"); |
---|
345 | /** SMARTY compile (management function) */ |
---|
346 | define('COMPILE_ADMIN_REALDIR', DATA_REALDIR . "Smarty/templates_c/admin/"); |
---|
347 | /** Block file saving destination */ |
---|
348 | define('BLOC_DIR', "frontparts/bloc/"); |
---|
349 | /** SMARTY template (mobile) */ |
---|
350 | define('MOBILE_TEMPLATE_REALDIR', SMARTY_TEMPLATES_REALDIR . MOBILE_TEMPLATE_NAME . "/"); |
---|
351 | /** SMARTY compile (mobile) */ |
---|
352 | define('MOBILE_COMPILE_REALDIR', DATA_REALDIR . "Smarty/templates_c/" . MOBILE_TEMPLATE_NAME . "/"); |
---|
353 | /** SMARTY template (smart phone) */ |
---|
354 | define('SMARTPHONE_TEMPLATE_REALDIR', SMARTY_TEMPLATES_REALDIR . SMARTPHONE_TEMPLATE_NAME . "/"); |
---|
355 | /** SMARTY compile (smartphone) */ |
---|
356 | define('SMARTPHONE_COMPILE_REALDIR', DATA_REALDIR . "Smarty/templates_c/" . SMARTPHONE_TEMPLATE_NAME . "/"); |
---|
357 | /** Does the e-mail address check comply with RFC? (true: complies, false: does not comply) */ |
---|
358 | define('RFC_COMPLIANT_EMAIL_CHECK', false); |
---|
359 | /** Mobile site session continuation time (seconds) */ |
---|
360 | define('MOBILE_SESSION_LIFETIME', 1800); |
---|
361 | /** Directory for saving converted images for mobile phones */ |
---|
362 | define('MOBILE_IMAGE_REALDIR', HTML_REALDIR . "upload/mobile_image/"); |
---|
363 | /** Directory for saving converted images for mobile phones */ |
---|
364 | define('MOBILE_IMAGE_URLPATH', ROOT_URLPATH . "upload/mobile_image/"); |
---|
365 | /** Mobile URL */ |
---|
366 | define('MOBILE_TOP_URLPATH', ROOT_URLPATH . DIR_INDEX_PATH); |
---|
367 | /** Cart top */ |
---|
368 | define('MOBILE_CART_URLPATH', ROOT_URLPATH . "cart/" . DIR_INDEX_PATH); |
---|
369 | /** Purchase confirmation page */ |
---|
370 | define('MOBILE_SHOPPING_CONFIRM_URLPATH', ROOT_URLPATH . "shopping/confirm.php"); |
---|
371 | /** Payment method selection page */ |
---|
372 | define('MOBILE_SHOPPING_PAYMENT_URLPATH', ROOT_URLPATH . "shopping/payment.php"); |
---|
373 | /** Product details (HTML output) */ |
---|
374 | define('MOBILE_P_DETAIL_URLPATH', ROOT_URLPATH . "products/detail.php?product_id="); |
---|
375 | /** Purchase completion screen (*Used in the module) */ |
---|
376 | define('MOBILE_SHOPPING_COMPLETE_URLPATH', ROOT_URLPATH . "shopping/complete.php"); |
---|
377 | /** Session maintenance method: "useCookie"|"useRequest" */ |
---|
378 | define('SESSION_KEEP_METHOD', "useCookie"); |
---|
379 | /** Session continuation time (seconds) */ |
---|
380 | define('SESSION_LIFETIME', 1800); |
---|
381 | /** Owners Store URL */ |
---|
382 | define('OSTORE_URL', "http://www.ec-cube.net/"); |
---|
383 | /** Owners Store URL */ |
---|
384 | define('OSTORE_SSLURL', ""); |
---|
385 | /** Owners Store log path */ |
---|
386 | define('OSTORE_LOG_REALFILE', DATA_REALDIR . "logs/ownersstore.log"); |
---|
387 | /** Favorite product registration (active: 1 inactive: 0) */ |
---|
388 | define('OPTION_FAVORITE_PRODUCT', 1); |
---|
389 | /** Image rename settings (product images only) (true: Rename, false: Do not rename) */ |
---|
390 | define('IMAGE_RENAME', true); |
---|
391 | /** (For 2.11) Plug-in directory (Used in module) */ |
---|
392 | define('PLUGIN_DIR', "plugins/"); |
---|
393 | /** (For 2.11) Plug-in saving destination (Used in module) */ |
---|
394 | define('PLUGIN_REALDIR', USER_REALDIR . PLUGIN_DIR); |
---|
395 | /** Plug-in saving destination directory */ |
---|
396 | define('PLUGIN_UPLOAD_REALDIR', DATA_REALDIR . "downloads/plugin/"); |
---|
397 | /** Plug-in saving destination directory (html) */ |
---|
398 | define('PLUGIN_HTML_REALDIR', HTML_REALDIR . "plugin/"); |
---|
399 | /** Temporary saving destination of plug-in file */ |
---|
400 | define('PLUGIN_TEMP_REALDIR', HTML_REALDIR . "upload/temp_plugin/"); |
---|
401 | /** Extensions possible for registration of plug-in file (comma-delimited) */ |
---|
402 | define('PLUGIN_EXTENSION', "tar,tar.gz"); |
---|
403 | /** Temporary decompression directory for plug-in (for updating) */ |
---|
404 | define('DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR', DATA_REALDIR . "downloads/tmp/plugin_update/"); |
---|
405 | /** Temporary decompression directory for plug-in (for installing) */ |
---|
406 | define('DOWNLOADS_TEMP_PLUGIN_INSTALL_DIR', DATA_REALDIR . "downloads/tmp/plugin_install/"); |
---|
407 | /** Plug-in URL */ |
---|
408 | define('PLUGIN_HTML_URLPATH', ROOT_URLPATH . "plugin/"); |
---|
409 | /** Number of days Number of digits */ |
---|
410 | define('DOWNLOAD_DAYS_LEN', 3); |
---|
411 | /** Extensions possible for registration of downloaded files (comma-delimited)" */ |
---|
412 | define('DOWNLOAD_EXTENSION', "zip,lzh,jpg,jpeg,gif,png,mp3,pdf,csv"); |
---|
413 | /** Size limitation for download sales file (KB) */ |
---|
414 | define('DOWN_SIZE', 50000); |
---|
415 | /** 1: Actual product 2: Download */ |
---|
416 | define('DEFAULT_PRODUCT_DOWN', 1); |
---|
417 | /** Temporary saving of downloaded file */ |
---|
418 | define('DOWN_TEMP_REALDIR', DATA_REALDIR . "download/temp/"); |
---|
419 | /** Saving destination of downloaded file */ |
---|
420 | define('DOWN_SAVE_REALDIR', DATA_REALDIR . "download/save/"); |
---|
421 | /** Download sales function Downloaded file reading bytes (KB) */ |
---|
422 | define('DOWNLOAD_BLOCK', 1024); |
---|
423 | /** New order */ |
---|
424 | define('ORDER_NEW', 1); |
---|
425 | /** Waiting for deposit */ |
---|
426 | define('ORDER_PAY_WAIT', 2); |
---|
427 | /** Deposited */ |
---|
428 | define('ORDER_PRE_END', 6); |
---|
429 | /** Cancel */ |
---|
430 | define('ORDER_CANCEL', 3); |
---|
431 | /** Being backordered */ |
---|
432 | define('ORDER_BACK_ORDER', 4); |
---|
433 | /** Shipped */ |
---|
434 | define('ORDER_DELIV', 5); |
---|
435 | /** Payment being processed */ |
---|
436 | define('ORDER_PENDING', 7); |
---|
437 | /** Normal product */ |
---|
438 | define('PRODUCT_TYPE_NORMAL', 1); |
---|
439 | /** Downloaded product */ |
---|
440 | define('PRODUCT_TYPE_DOWNLOAD', 2); |
---|
441 | /** DB log recording mode (0: No recording, 1: Recording only during delays, 2: Constant recording) */ |
---|
442 | define('SQL_QUERY_LOG_MODE', 1); |
---|
443 | /** Execution time deemed as being a delay in the DB log (seconds) */ |
---|
444 | define('SQL_QUERY_LOG_MIN_EXEC_TIME', 2); |
---|
445 | /** Flag for retrieving page display time log (1: Display, 0: Do not display) */ |
---|
446 | define('PAGE_DISPLAY_TIME_LOG_MODE', 1); |
---|
447 | /** Time settings for retrieving page display time log (retrieved when it takes longer than the set value) */ |
---|
448 | define('PAGE_DISPLAY_TIME_LOG_MIN_EXEC_TIME', 2); |
---|
449 | /** Terminal type: Mobile */ |
---|
450 | define('DEVICE_TYPE_MOBILE', 1); |
---|
451 | /** Terminal type: Smartphone */ |
---|
452 | define('DEVICE_TYPE_SMARTPHONE', 2); |
---|
453 | /** Terminal type: PC */ |
---|
454 | define('DEVICE_TYPE_PC', 10); |
---|
455 | /** Terminal type: Management screen */ |
---|
456 | define('DEVICE_TYPE_ADMIN', 99); |
---|
457 | /** EC-CUBE update information retrieval (true: retrieve false: do not retrieve) */ |
---|
458 | define('ECCUBE_INFO', true); |
---|
459 | /** External site HTTP retrieval timeout time (seconds) */ |
---|
460 | define('HTTP_REQUEST_TIMEOUT', "5"); |
---|
461 | /** Postal code CSV ZIP archive file retrieval source */ |
---|
462 | define('ZIP_DOWNLOAD_URL', "http://www.post.japanpost.jp/zipcode/dl/kogaki/zip/ken_all.zip"); |
---|
463 | /** Hook point (preprocess) */ |
---|
464 | define('HOOK_POINT_PREPROCESS', "LC_Page_preProcess"); |
---|
465 | /** Hook point (process) */ |
---|
466 | define('HOOK_POINT_PROCESS', "LC_Page_process"); |
---|
467 | /** Load/not load flag for plug) */ |
---|
468 | define('PLUGIN_ACTIVATE_FLAG', true); |
---|
469 | /** SMARTY compile mode */ |
---|
470 | define('SMARTY_FORCE_COMPILE_MODE', false); |
---|
471 | /** Delay time when login fails (seconds) (measure against brute force attack) */ |
---|
472 | define('LOGIN_RETRY_INTERVAL', 0); |
---|
473 | /** MY page: Order status display flag */ |
---|
474 | define('MYPAGE_ORDER_STATUS_DISP_FLAG', true); |
---|
475 | /** Mail character code */ |
---|
476 | define('MAIL_CHARACTER_CODE', 'UTF-8'); |
---|
477 | /** Mail header: contents type */ |
---|
478 | define('MAIL_HEADER_CONTENT_TYPE', 'US-ASCII'); |
---|
479 | /** Time zone */ |
---|
480 | define('TIMEZONE', 'Etc/GMT+0'); |
---|