-
Notifications
You must be signed in to change notification settings - Fork 2
/
self_config.yml
33 lines (29 loc) · 897 Bytes
/
self_config.yml
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
# This file is an example of data configuration which can be applied to a module
# Data to be updated in Configuration table
configuration:
update:
ADVCONFIG_VALUE_INT: 1
ADVCONFIG_VALUE_STR: "the value"
delete:
- "ADVCONFIG_SAMPLE_REMOVE"
# SQL files to execute
sql:
- file: "setup/sql/advconfig_sample.sql"
# The 'file' key is optional
- "setup/sql/advconfig_sample_other.sql"
# File to copy from local disk or website
files:
- source: "setup/files/source.txt"
dest: "media/dest.txt"
- source: "https://www.prestashop.com"
dest: "media/webpage.html"
# Fox complex configuration data, allow PHP code to be executed
php:
- file: "setup/MyAdvancedSetup.php"
params:
- myParam1: 1
- oneArrayParam:
- "value1"
- "value2"
- myParam2:
- withSpecificKey: "value3"