Merge pull request #6773 from civicrm/eileenmcnaughton-patch-1
[civicrm-core.git] / settings / Url.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2015 |
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-2015
32 * $Id$
33 *
34 */
35 /*
36 * Settings metadata file
37 */
38 return array(
39 'userFrameworkResourceURL' => array(
40 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
41 'group' => 'url',
42 'group_name' => 'URL Preferences',
43 'name' => 'userFrameworkResourceURL',
44 'title' => 'CiviCRM Resource URL',
45 'type' => 'String',
46 'html_type' => 'Text',
47 'quick_form_type' => 'Element',
48 'default' => NULL,
49 'add' => '4.1',
50 'is_domain' => 1,
51 'is_contact' => 0,
52 'description' => 'Absolute URL of the location where the civicrm module or component has been installed.',
53 'help_text' => NULL,
54 'validate_callback' => 'CRM_Utils_Rule::urlish',
55 ),
56 'imageUploadURL' => array(
57 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
58 'group' => 'url',
59 'group_name' => 'URL Preferences',
60 'title' => 'Image Upload URL',
61 'name' => 'imageUploadURL',
62 'type' => 'String',
63 'html_type' => 'Text',
64 'quick_form_type' => 'Element',
65 'default' => NULL,
66 'add' => '4.1',
67 'is_domain' => 1,
68 'is_contact' => 0,
69 'description' => 'URL of the location for uploaded image files.',
70 'help_text' => NULL,
71 'validate_callback' => 'CRM_Utils_Rule::urlish',
72 ),
73 'customCSSURL' => array(
74 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
75 'group' => 'url',
76 'group_name' => 'URL Preferences',
77 'name' => 'customCSSURL',
78 'title' => 'Custom CSS URL',
79 'type' => 'String',
80 'html_type' => 'Text',
81 'quick_form_type' => 'Element',
82 'default' => NULL,
83 'add' => '4.1',
84 'is_domain' => 1,
85 'is_contact' => 0,
86 'description' => 'You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.',
87 'help_text' => NULL,
88 'validate_callback' => 'CRM_Utils_Rule::urlish',
89 ),
90 'extensionsURL' => array(
91 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
92 'group' => 'url',
93 'group_name' => 'URL Preferences',
94 'title' => 'Extension Resource URL',
95 'name' => 'extensionsURL',
96 'type' => 'String',
97 'html_type' => 'Text',
98 'quick_form_type' => 'Element',
99 'default' => NULL,
100 'add' => '4.1',
101 'is_domain' => 1,
102 'is_contact' => 0,
103 'description' => 'Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.',
104 'help_text' => NULL,
105 'validate_callback' => 'CRM_Utils_Rule::urlish',
106 ),
107 );