-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.php
49 lines (48 loc) · 1.12 KB
/
manifest.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
<?php
$manifest = array(
'acceptable_sugar_flavors' => array(
'CE',
'CORP',
'PRO',
'ULT',
'ENT'
),
'acceptable_sugar_versions' => array(
'6.*.*',
'7.*.*'
),
'is_uninstallable' => true,
'remove_tables' => 'prompt',
'name' => 'KREST Core',
'author' => 'aac services k.s.',
'description' => 'REST Interface for SugarCRM',
'published_date' => '2018/05/12',
'version' => 'v3.1.0',
'type' => 'module'
);
$installdefs = array(
'copy' => array(
array(
'from' => '<basepath>/KREST',
'to' => 'KREST',
),
array(
'from' => '<basepath>/composer_krest.json',
'to' => 'composer_krest.json',
),
array(
'from' => '<basepath>/vendor',
'to' => 'vendor',
)
),
'relationships' => array(
array(
'module' => 'KREST',
'meta_data' => '<basepath>/metadata/system_krest.php'
),
)
);
//workaround for suitecrm: do not load vendor
if(isset($GLOBALS['suitecrm_version'])){
unset($installdefs['copy'][2]);
}