forked from ZenMagick/ZenMagick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-global.yaml
81 lines (72 loc) · 2.25 KB
/
sample-global.yaml
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
##
## Example global ZenMagick config file
##
## All global settings in this file override application settings.
##
## To use, please rename to global.yaml
##
## shared settings that apply to both admin and storefront
admin,storefront:
php:
ini:
# display errors in browser
display_errors: true
container:
services:
# display logging in the browser; requires 'display_errors' to be set to true
echoLoggingHandler:
class: zenmagick\base\logging\handler\EchoLoggingHandler
scope: container
calls:
- [setLogLevel, ['INFO']]
tags:
- { name: zenmagick.base.logging.handler }
# log into configured file
fileLoggingHandler:
class: zenmagick\base\logging\handler\FileLoggingHandler
scope: container
calls:
- [setLogLevel, ['ALL']]
- [setFilename, ['%zenmagick.installationPath%/zenmagick.log']]
tags:
- { name: zenmagick.base.logging.handler }
settings:
zenmagick:
base:
logging:
# enable logging
enabled: true
# log level; one of: ERROR, WARN, INFO, DEBUG, TRACE or ALL
level: ALL
# register ZenMagick log system to handle errors/exceptions
handleErrors: true
plugins:
# enable plugins
enabled: true
http:
request:
# enable secure links
secure: true
# force all links to be secure
allSecure: false
apps:
store:
# validate ZenMagick code against zencart code
assertZencart: false
# use new static content rather than static pages
staticContent: true
reviews:
# use nick name as author if set
useNickName: true
#############################
## old style store settings - these names will be changed in a future version
# allow tell a friend for anonymous users
isTellAFriendAnonymousAllow: false
# enable guest checkout
isGuestCheckout: true
# logoff guests after checkout
isLogoffGuestAfterOrder: false
# combine guest checkout email and address form
isGuestCheckoutAskAddress: true
# disable view counts for product and review pages
isLogPageStats: false