Merge pull request #5071 from colemanw/CRM-15906
[civicrm-core.git] / settings / Url.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.5 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2014 |
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-2014
32 * $Id$
33 *
34 */
35 /*
36 * Settings metadata file
37 */
38 return array (
39 'userFrameworkResourceURL' => array(
40 'group' => 'url',
41 'group_name' => 'URL Preferences',
42 'name' => 'userFrameworkResourceURL',
43 'title' => 'Script and CSS Resources URL',
44 'type' => 'String',
45 'default' => null,
46 'add' => '4.1',
47 'prefetch' => 1,
48 'is_domain' => 1,
49 'is_contact' => 0,
50 'description' => 'CiviCRM Resource URL',
51 'help_text' => null,
52 'validate_callback' => 'CRM_Utils_Rule::url',
53 ),
54 'imageUploadURL' => array(
55 'group' => 'url',
56 'group_name' => 'URL Preferences',
57 'title' => 'Image URL Prefix',
58 'name' => 'imageUploadURL',
59 'type' => 'String',
60 'default' => null,
61 'add' => '4.1',
62 'prefetch' => 1,
63 'is_domain' => 1,
64 'is_contact' => 0,
65 'description' => 'Image Upload URL',
66 'help_text' => null,
67 'validate_callback' => 'CRM_Utils_Rule::url',
68 ),
69 'customCSSURL' => array(
70 'group' => 'url',
71 'group_name' => 'URL Preferences',
72 'name' => 'customCSSURL',
73 'title' => 'Custom CSS',
74 'type' => 'String',
75 'default' => null,
76 'add' => '4.1',
77 'prefetch' => 1,
78 'is_domain' => 1,
79 'is_contact' => 0,
80 'description' => 'Custom CiviCRM CSS URL',
81 'help_text' => null,
82 'validate_callback' => 'CRM_Utils_Rule::url',
83 ),
84
85 );