-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
84 lines (53 loc) · 2.28 KB
/
config.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
<?php
/*
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org)
Copyright (C) 2007 - 2017, Christoph Marti
LICENCE TERMS:
This module is free software. You can redistribute it and/or modify it
under the terms of the GNU General Public License - version 2 or later,
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html.
DISCLAIMER:
This module 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.
*/
//Prevent this file from being accessed directly
if (defined('WB_PATH') == false) {
exit("Cannot access this file directly");
}
// **********************************************
// SET DEFAULT VALUES OF SOME ADDITIONAL SETTINGS
// **********************************************
// CART (FRONTEND)
// ****************
// Default cart thumb max. size (px)
$cart_thumb_max_size = 40;
// TEMPLATES (FRONTEND)
// ********************
// For item detail templates built with a table wrap selects in a table row
// Affects item options selects => [OPTION] placeholder
$use_table = TRUE;
// On item detail pages chop long pagination links and add … (horizontal ellipsis)
// Number of allowed chars before chopping link text
$link_length = 24;
// IMAGES AND THUMBNAILS (BACKEND)
// *******************************
// Name of the media subfolder that contains the bakery images and thumbs
// No more than a proper directory name - no leading nor trailing slash
$img_dir = 'bakery';
// Selectable thumbnail default sizes (modify page settings)
$default_thumb_sizes['40'] = '40x40px';
$default_thumb_sizes['50'] = '50x50px';
$default_thumb_sizes['60'] = '60x60px';
$default_thumb_sizes['75'] = '75x75px';
$default_thumb_sizes['100'] = '100x100px';
$default_thumb_sizes['125'] = '125x125px';
$default_thumb_sizes['150'] = '150x150px';
// Accepted max lenght of image filenames (modify item)
$filename_max_length = 40;
// For item images set image resize default values (modify item)
$fetch_item['imgresize'] = ''; // yes = selected by default
$fetch_item['quality'] = 75;
$fetch_item['maxwidth'] = 400;
$fetch_item['maxheight'] = 300;