Merge pull request #18612 from mattwire/tokenprocessorsimplify
[civicrm-core.git] / settings / Directory.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
6b7eb9df
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035
TO
16 */
17/*
18 * Settings metadata file
19 */
20
dfe1f88a
CW
21return [
22 'uploadDir' => [
ac47f7ca 23 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
24 'group_name' => 'Directory Preferences',
25 'group' => 'directory',
26 'name' => 'uploadDir',
2937fb4a 27 'type' => 'String',
c1a2145a 28 'html_type' => 'text',
2937fb4a 29 'quick_form_type' => 'Element',
08e57c58 30 'default' => NULL,
6a488035 31 'add' => '4.1',
41f6bd13 32 'title' => ts('Temporary Files Directory'),
6a488035
TO
33 'is_domain' => 1,
34 'is_contact' => 0,
2937fb4a 35 'help_text' => 'File system path where temporary CiviCRM files - such as import data files - are uploaded.',
dfe1f88a
CW
36 ],
37 'imageUploadDir' => [
ac47f7ca 38 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
39 'group_name' => 'Directory Preferences',
40 'group' => 'directory',
41 'name' => 'imageUploadDir',
2937fb4a 42 'type' => 'String',
c1a2145a 43 'html_type' => 'text',
2937fb4a 44 'quick_form_type' => 'Element',
08e57c58 45 'default' => NULL,
6a488035 46 'add' => '4.1',
41f6bd13 47 'title' => ts('Image Directory'),
6a488035
TO
48 'is_domain' => 1,
49 'is_contact' => 0,
41f6bd13 50 'description' => ts('File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).'),
08e57c58 51 'help_text' => NULL,
dfe1f88a
CW
52 ],
53 'customFileUploadDir' => [
ac47f7ca 54 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
55 'group_name' => 'Directory Preferences',
56 'group' => 'directory',
57 'name' => 'customFileUploadDir',
2937fb4a 58 'type' => 'String',
c1a2145a 59 'html_type' => 'text',
2937fb4a 60 'quick_form_type' => 'Element',
08e57c58 61 'default' => NULL,
6a488035 62 'add' => '4.1',
41f6bd13 63 'title' => ts('Custom Files Directory'),
6a488035
TO
64 'is_domain' => 1,
65 'is_contact' => 0,
41f6bd13 66 'description' => ts('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 67 'help_text' => NULL,
dfe1f88a
CW
68 ],
69 'customTemplateDir' => [
ac47f7ca 70 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
71 'group_name' => 'Directory Preferences',
72 'group' => 'directory',
73 'name' => 'customTemplateDir',
2937fb4a 74 'type' => 'String',
c1a2145a 75 'html_type' => 'text',
2937fb4a 76 'quick_form_type' => 'Element',
08e57c58 77 'default' => NULL,
6a488035 78 'add' => '4.1',
41f6bd13 79 'title' => ts('Custom Template Directory'),
6a488035
TO
80 'is_domain' => 1,
81 'is_contact' => 0,
41f6bd13 82 'description' => ts('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 83 'help_text' => NULL,
dfe1f88a
CW
84 ],
85 'customPHPPathDir' => [
ac47f7ca 86 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
87 'group_name' => 'Directory Preferences',
88 'group' => 'directory',
89 'name' => 'customPHPPathDir',
2937fb4a 90 'type' => 'String',
c1a2145a 91 'html_type' => 'text',
2937fb4a 92 'quick_form_type' => 'Element',
08e57c58 93 'default' => NULL,
6a488035 94 'add' => '4.1',
41f6bd13 95 'title' => ts('Custom PHP Directory'),
6a488035
TO
96 'is_domain' => 1,
97 'is_contact' => 0,
41f6bd13 98 'description' => ts('Path where site specific PHP code files are stored if any. This directory is searched first if set.'),
08e57c58 99 'help_text' => NULL,
dfe1f88a
CW
100 ],
101 'extensionsDir' => [
ac47f7ca 102 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
103 'group_name' => 'Directory Preferences',
104 'group' => 'directory',
105 'name' => 'extensionsDir',
2937fb4a 106 'type' => 'String',
c1a2145a 107 'html_type' => 'text',
2937fb4a 108 'quick_form_type' => 'Element',
08e57c58 109 'default' => NULL,
6a488035 110 'add' => '4.1',
41f6bd13 111 'title' => ts('Extensions Directory'),
6a488035
TO
112 'is_domain' => 1,
113 'is_contact' => 0,
41f6bd13 114 'description' => ts('Path where CiviCRM extensions are stored.'),
08e57c58 115 'help_text' => NULL,
dfe1f88a 116 ],
6a488035 117
dfe1f88a 118];