-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcatalog.cfg
107 lines (84 loc) · 2.48 KB
/
catalog.cfg
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
# File locations
RunDir var/run
ErrorFile var/log/error.log
ScratchDir var/tmp
ProductDir database
SessionDatabase var/session
# Database settings for variables
Database variable variable.txt TAB
Database variable GDBM_ENABLE_UTF8 1
Database site site.txt TAB
Database site GDBM_ENABLE_UTF8 1
VariableDatabase variable
VariableDatabase site
HTMLsuffix .itl
ParseVariables Yes
# Host configuration
VendURL http://__SERVER_NAME____CGI_URL__
SecureURL https://__SERVER_NAME____CGI_URL__
MailOrderTo __ORDERS_TO__
ImageDir __IMAGE_URL__/
# Session expiration time
SessionExpire 8 hours
# Custom functions
include code/*.*
# Functions to run after completion of the configuration
StartupHooks <<EOH
prepare_database
plugin_scan
EOH
# Profiles
OrderProfile profiles/*.profile
# Autoload
Autoload init_filter
Autoload init
# Automatic components and attributes
Variable MV_COMPONENT_AUTO htmlhead:htmlhead topheader=search_box logo:logo menu:menu banner:title,menu_crumbs left:categorynav footer:footer body:infobox,local_body
Variable MV_ATTRIBUTE_AUTO menu.name=main htmlhead.css=others title.size=2
Variable TITLE WellWell Shop
# Database settings
DatabaseAutoIgnore ^sql_
DatabaseAuto __SQLDSN__
DatabaseDefault LOG_ERROR_SESSION 0
NoImportExternal Yes
Database images AUTO_SEQUENCE images_code_seq
Database menus AUTO_SEQUENCE menus_code_seq
Database product_images AUTO_SEQUENCE product_images_code_seq
Database users KEY uid
Database users AUTO_SEQUENCE users_uid_seq
# Standard plugins
include plugins/{__PLUGINS__}/plugin.cfg
# Local plugins
include local/plugins/{__PLUGINS__}/plugin.cfg
# Virtual pages
SpecialPage catalog index
SpecialPage target index
SpecialPage missing not_found
SpecialPage violation not_found
SpecialPage order cart
SpecialSub missing page_missing
SpecialSub order_missing order_missing
# Template settings
Pragma interpolate_itl_references
# User database configuration
UserDB default database users
UserDB default indirect_login email
UserDB default assign_username 0
UserDB default counter var/run/userdb.counter
UserDB default user_field uid
UserDB default time_field none
UserDB default pass_field password
UserDB default scratch "username email last_login created"
UserDB default crypt 0
# Cart
FormAction refresh cart_refresh
AutoModifier inactive
# Routes and Orders
OrderCounter var/run/order.number
# Jobs
ParseVariables Yes
Jobs base_directory jobs
Jobs email __JOBS_TO__
Jobs log var/log/jobs.log
Jobs use_global 1
ParseVariables No