Fix deleting of campaigns and saving of custom data for campaign and also ensure...
[civicrm-core.git] / settings / Directory.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 5 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2019 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 */
27
28 /**
29 *
30 * @package CRM
31 * @copyright CiviCRM LLC (c) 2004-2019
32 * $Id$
33 *
34 */
35 /*
36 * Settings metadata file
37 */
38
39 return [
40 'uploadDir' => [
41 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
42 'group_name' => 'Directory Preferences',
43 'group' => 'directory',
44 'name' => 'uploadDir',
45 'type' => 'String',
46 'html_type' => 'text',
47 'quick_form_type' => 'Element',
48 'default' => NULL,
49 'add' => '4.1',
50 'title' => 'Temporary Files Directory',
51 'is_domain' => 1,
52 'is_contact' => 0,
53 'description' => NULL,
54 'help_text' => 'File system path where temporary CiviCRM files - such as import data files - are uploaded.',
55 ],
56 'imageUploadDir' => [
57 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
58 'group_name' => 'Directory Preferences',
59 'group' => 'directory',
60 'name' => 'imageUploadDir',
61 'type' => 'String',
62 'html_type' => 'text',
63 'quick_form_type' => 'Element',
64 'default' => NULL,
65 'add' => '4.1',
66 'title' => 'Image Directory',
67 'is_domain' => 1,
68 'is_contact' => 0,
69 'description' => 'File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).',
70 'help_text' => NULL,
71 ],
72 'customFileUploadDir' => [
73 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
74 'group_name' => 'Directory Preferences',
75 'group' => 'directory',
76 'name' => 'customFileUploadDir',
77 'type' => 'String',
78 'html_type' => 'text',
79 'quick_form_type' => 'Element',
80 'default' => NULL,
81 'add' => '4.1',
82 'title' => 'Custom Files Directory',
83 'is_domain' => 1,
84 'is_contact' => 0,
85 'description' => 'Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.',
86 'help_text' => NULL,
87 ],
88 'customTemplateDir' => [
89 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
90 'group_name' => 'Directory Preferences',
91 'group' => 'directory',
92 'name' => 'customTemplateDir',
93 'type' => 'String',
94 'html_type' => 'text',
95 'quick_form_type' => 'Element',
96 'default' => NULL,
97 'add' => '4.1',
98 'title' => 'Custom Template Directory',
99 'is_domain' => 1,
100 'is_contact' => 0,
101 'description' => 'Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)',
102 'help_text' => NULL,
103 ],
104 'customPHPPathDir' => [
105 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
106 'group_name' => 'Directory Preferences',
107 'group' => 'directory',
108 'name' => 'customPHPPathDir',
109 'type' => 'String',
110 'html_type' => 'text',
111 'quick_form_type' => 'Element',
112 'default' => NULL,
113 'add' => '4.1',
114 'title' => 'Custom PHP Directory',
115 'is_domain' => 1,
116 'is_contact' => 0,
117 'description' => 'Path where site specific PHP code files are stored if any. This directory is searched first if set.',
118 'help_text' => NULL,
119 ],
120 'extensionsDir' => [
121 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
122 'group_name' => 'Directory Preferences',
123 'group' => 'directory',
124 'name' => 'extensionsDir',
125 'type' => 'String',
126 'html_type' => 'text',
127 'quick_form_type' => 'Element',
128 'default' => NULL,
129 'add' => '4.1',
130 'title' => 'Extensions Directory',
131 'is_domain' => 1,
132 'is_contact' => 0,
133 'description' => 'Path where CiviCRM extensions are stored.',
134 'help_text' => NULL,
135 ],
136
137 ];