Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
81621fee | 4 | | CiviCRM version 4.7 | |
6a488035 | 5 | +--------------------------------------------------------------------+ |
e7112fa7 | 6 | | Copyright CiviCRM LLC (c) 2004-2015 | |
6a488035 TO |
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 | +--------------------------------------------------------------------+ | |
d25dd0ee | 26 | */ |
6a488035 TO |
27 | |
28 | /** | |
29 | * | |
30 | * @package CRM | |
e7112fa7 | 31 | * @copyright CiviCRM LLC (c) 2004-2015 |
6a488035 TO |
32 | * $Id$ |
33 | * | |
34 | */ | |
35 | /* | |
36 | * Settings metadata file | |
37 | */ | |
38 | ||
39 | return array( | |
40 | 'uploadDir' => array( | |
ac47f7ca | 41 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
6a488035 TO |
42 | 'group_name' => 'Directory Preferences', |
43 | 'group' => 'directory', | |
44 | 'name' => 'uploadDir', | |
2937fb4a | 45 | 'type' => 'String', |
6a488035 | 46 | 'html_type' => 'Text', |
2937fb4a | 47 | 'quick_form_type' => 'Element', |
08e57c58 | 48 | 'default' => NULL, |
6a488035 | 49 | 'add' => '4.1', |
2937fb4a | 50 | 'title' => 'Temporary Files Directory', |
6a488035 TO |
51 | 'is_domain' => 1, |
52 | 'is_contact' => 0, | |
08e57c58 | 53 | 'description' => NULL, |
2937fb4a | 54 | 'help_text' => 'File system path where temporary CiviCRM files - such as import data files - are uploaded.', |
6a488035 TO |
55 | ), |
56 | 'imageUploadDir' => array( | |
ac47f7ca | 57 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
6a488035 TO |
58 | 'group_name' => 'Directory Preferences', |
59 | 'group' => 'directory', | |
60 | 'name' => 'imageUploadDir', | |
2937fb4a | 61 | 'type' => 'String', |
6a488035 | 62 | 'html_type' => 'Text', |
2937fb4a | 63 | 'quick_form_type' => 'Element', |
08e57c58 | 64 | 'default' => NULL, |
6a488035 | 65 | 'add' => '4.1', |
66f90900 | 66 | 'title' => 'Image Directory', |
6a488035 TO |
67 | 'is_domain' => 1, |
68 | 'is_contact' => 0, | |
2937fb4a | 69 | 'description' => 'File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).', |
08e57c58 | 70 | 'help_text' => NULL, |
6a488035 TO |
71 | ), |
72 | 'customFileUploadDir' => array( | |
ac47f7ca | 73 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
6a488035 TO |
74 | 'group_name' => 'Directory Preferences', |
75 | 'group' => 'directory', | |
76 | 'name' => 'customFileUploadDir', | |
2937fb4a | 77 | 'type' => 'String', |
6a488035 | 78 | 'html_type' => 'Text', |
2937fb4a | 79 | 'quick_form_type' => 'Element', |
08e57c58 | 80 | 'default' => NULL, |
6a488035 | 81 | 'add' => '4.1', |
2937fb4a | 82 | 'title' => 'Custom Files Directory', |
6a488035 TO |
83 | 'is_domain' => 1, |
84 | 'is_contact' => 0, | |
2937fb4a | 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.', |
08e57c58 | 86 | 'help_text' => NULL, |
6a488035 TO |
87 | ), |
88 | 'customTemplateDir' => array( | |
ac47f7ca | 89 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
6a488035 TO |
90 | 'group_name' => 'Directory Preferences', |
91 | 'group' => 'directory', | |
92 | 'name' => 'customTemplateDir', | |
2937fb4a | 93 | 'type' => 'String', |
6a488035 | 94 | 'html_type' => 'Text', |
2937fb4a | 95 | 'quick_form_type' => 'Element', |
08e57c58 | 96 | 'default' => NULL, |
6a488035 | 97 | 'add' => '4.1', |
66f90900 | 98 | 'title' => 'Custom Template Directory', |
6a488035 TO |
99 | 'is_domain' => 1, |
100 | 'is_contact' => 0, | |
2937fb4a | 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...)', |
08e57c58 | 102 | 'help_text' => NULL, |
6a488035 TO |
103 | ), |
104 | 'customPHPPathDir' => array( | |
ac47f7ca | 105 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
6a488035 TO |
106 | 'group_name' => 'Directory Preferences', |
107 | 'group' => 'directory', | |
108 | 'name' => 'customPHPPathDir', | |
2937fb4a | 109 | 'type' => 'String', |
6a488035 | 110 | 'html_type' => 'Text', |
2937fb4a | 111 | 'quick_form_type' => 'Element', |
08e57c58 | 112 | 'default' => NULL, |
6a488035 | 113 | 'add' => '4.1', |
2937fb4a | 114 | 'title' => 'Custom PHP Directory', |
6a488035 TO |
115 | 'is_domain' => 1, |
116 | 'is_contact' => 0, | |
2937fb4a | 117 | 'description' => 'Path where site specific PHP code files are stored if any. This directory is searched first if set.', |
08e57c58 | 118 | 'help_text' => NULL, |
6a488035 TO |
119 | ), |
120 | 'extensionsDir' => array( | |
ac47f7ca | 121 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
6a488035 TO |
122 | 'group_name' => 'Directory Preferences', |
123 | 'group' => 'directory', | |
124 | 'name' => 'extensionsDir', | |
2937fb4a | 125 | 'type' => 'String', |
6a488035 | 126 | 'html_type' => 'Text', |
2937fb4a | 127 | 'quick_form_type' => 'Element', |
08e57c58 | 128 | 'default' => NULL, |
6a488035 | 129 | 'add' => '4.1', |
66f90900 | 130 | 'title' => 'Extensions Directory', |
6a488035 TO |
131 | 'is_domain' => 1, |
132 | 'is_contact' => 0, | |
2937fb4a | 133 | 'description' => 'Path where CiviCRM extensions are stored.', |
08e57c58 | 134 | 'help_text' => NULL, |
6a488035 TO |
135 | ), |
136 | ||
232624b1 | 137 | ); |