make translatable
[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 * $Id$
17 *
18 */
19/*
20 * Settings metadata file
21 */
22
dfe1f88a
CW
23return [
24 'uploadDir' => [
ac47f7ca 25 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
26 'group_name' => 'Directory Preferences',
27 'group' => 'directory',
28 'name' => 'uploadDir',
2937fb4a 29 'type' => 'String',
c1a2145a 30 'html_type' => 'text',
2937fb4a 31 'quick_form_type' => 'Element',
08e57c58 32 'default' => NULL,
6a488035 33 'add' => '4.1',
41f6bd13 34 'title' => ts('Temporary Files Directory'),
6a488035
TO
35 'is_domain' => 1,
36 'is_contact' => 0,
2937fb4a 37 'help_text' => 'File system path where temporary CiviCRM files - such as import data files - are uploaded.',
dfe1f88a
CW
38 ],
39 'imageUploadDir' => [
ac47f7ca 40 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
41 'group_name' => 'Directory Preferences',
42 'group' => 'directory',
43 'name' => 'imageUploadDir',
2937fb4a 44 'type' => 'String',
c1a2145a 45 'html_type' => 'text',
2937fb4a 46 'quick_form_type' => 'Element',
08e57c58 47 'default' => NULL,
6a488035 48 'add' => '4.1',
41f6bd13 49 'title' => ts('Image Directory'),
6a488035
TO
50 'is_domain' => 1,
51 'is_contact' => 0,
41f6bd13 52 '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 53 'help_text' => NULL,
dfe1f88a
CW
54 ],
55 'customFileUploadDir' => [
ac47f7ca 56 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
57 'group_name' => 'Directory Preferences',
58 'group' => 'directory',
59 'name' => 'customFileUploadDir',
2937fb4a 60 'type' => 'String',
c1a2145a 61 'html_type' => 'text',
2937fb4a 62 'quick_form_type' => 'Element',
08e57c58 63 'default' => NULL,
6a488035 64 'add' => '4.1',
41f6bd13 65 'title' => ts('Custom Files Directory'),
6a488035
TO
66 'is_domain' => 1,
67 'is_contact' => 0,
41f6bd13 68 '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 69 'help_text' => NULL,
dfe1f88a
CW
70 ],
71 'customTemplateDir' => [
ac47f7ca 72 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
73 'group_name' => 'Directory Preferences',
74 'group' => 'directory',
75 'name' => 'customTemplateDir',
2937fb4a 76 'type' => 'String',
c1a2145a 77 'html_type' => 'text',
2937fb4a 78 'quick_form_type' => 'Element',
08e57c58 79 'default' => NULL,
6a488035 80 'add' => '4.1',
41f6bd13 81 'title' => ts('Custom Template Directory'),
6a488035
TO
82 'is_domain' => 1,
83 'is_contact' => 0,
41f6bd13 84 '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 85 'help_text' => NULL,
dfe1f88a
CW
86 ],
87 'customPHPPathDir' => [
ac47f7ca 88 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
89 'group_name' => 'Directory Preferences',
90 'group' => 'directory',
91 'name' => 'customPHPPathDir',
2937fb4a 92 'type' => 'String',
c1a2145a 93 'html_type' => 'text',
2937fb4a 94 'quick_form_type' => 'Element',
08e57c58 95 'default' => NULL,
6a488035 96 'add' => '4.1',
41f6bd13 97 'title' => ts('Custom PHP Directory'),
6a488035
TO
98 'is_domain' => 1,
99 'is_contact' => 0,
41f6bd13 100 'description' => ts('Path where site specific PHP code files are stored if any. This directory is searched first if set.'),
08e57c58 101 'help_text' => NULL,
dfe1f88a
CW
102 ],
103 'extensionsDir' => [
ac47f7ca 104 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
6a488035
TO
105 'group_name' => 'Directory Preferences',
106 'group' => 'directory',
107 'name' => 'extensionsDir',
2937fb4a 108 'type' => 'String',
c1a2145a 109 'html_type' => 'text',
2937fb4a 110 'quick_form_type' => 'Element',
08e57c58 111 'default' => NULL,
6a488035 112 'add' => '4.1',
41f6bd13 113 'title' => ts('Extensions Directory'),
6a488035
TO
114 'is_domain' => 1,
115 'is_contact' => 0,
41f6bd13 116 'description' => ts('Path where CiviCRM extensions are stored.'),
08e57c58 117 'help_text' => NULL,
dfe1f88a 118 ],
6a488035 119
dfe1f88a 120];