Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
232624b1 | 4 | | CiviCRM version 4.4 | |
6a488035 TO |
5 | +--------------------------------------------------------------------+ |
6 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
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-2013 | |
32 | * $Id$ | |
33 | * | |
34 | */ | |
35 | /* | |
36 | * Settings metadata file | |
37 | */ | |
38 | ||
39 | return array( | |
40 | 'debug_enabled' => array( | |
41 | 'group_name' => 'Developer Preferences', | |
42 | 'group' => 'developer', | |
43 | 'name' => 'debug_enabled', | |
44 | 'config_only' => 1, // store only in config - this is expected to be transitional | |
45 | 'config_key' => 'debug', // we can't call the setting debug as that has other meanings in api | |
46 | 'type' => 'Boolean', | |
47 | 'quick_form_type' => 'YesNo', | |
48 | 'default' => '0', | |
49 | 'add' => '4.3', | |
50 | 'title' => 'Enable Debugging', | |
51 | 'is_domain' => 1, | |
52 | 'is_contact' => 0, | |
53 | 'description' => "Set this value to Yes if you want to use one of CiviCRM's debugging tools. This feature should NOT be enabled for production sites", | |
54 | 'prefetch' => 1, | |
55 | 'help_text' => 'Do not turn this on on production sites', | |
56 | ), | |
57 | 'userFrameworkLogging' => array( | |
58 | 'group_name' => 'Developer Preferences', | |
59 | 'group' => 'developer', | |
60 | 'name' => 'userFrameworkLogging', | |
61 | 'config_only' => 1, // store only in config - this is expected to be transitional | |
62 | 'type' => 'Boolean', | |
63 | 'quick_form_type' => 'YesNo', | |
64 | 'default' => '0', | |
65 | 'add' => '4.3', | |
66 | 'title' => 'Enable Drupal Watchdog Logging', | |
67 | 'is_domain' => 1, | |
68 | 'is_contact' => 0, | |
69 | 'description' => "Set this value to Yes if you want CiviCRM error/debugging messages to also appear in Drupal error logs", | |
70 | 'prefetch' => 1, | |
71 | 'help_text' => "Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS' error log. | |
72 | In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal's watchdog enabled)", | |
73 | ), | |
74 | 'backtrace' => array( | |
75 | 'group_name' => 'Developer Preferences', | |
76 | 'group' => 'developer', | |
77 | 'name' => 'backtrace', | |
78 | 'config_only' => 1, // store only in config - this is expected to be transitional | |
79 | 'type' => 'Boolean', | |
80 | 'quick_form_type' => 'YesNo', | |
81 | 'default' => '0', | |
82 | 'add' => '4.3', | |
83 | 'title' => 'Display Backtrace', | |
84 | 'is_domain' => 1, | |
85 | 'is_contact' => 0, | |
86 | 'description' => "Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites", | |
87 | 'prefetch' => 1, | |
88 | ), | |
89 | 'fatalErrorTemplate' => array( | |
90 | 'group_name' => 'Developer Preferences', | |
91 | 'group' => 'developer', | |
92 | 'name' => 'fatalErrorTemplate', | |
93 | 'config_only' => 1, // store only in config - this is expected to be transitional | |
94 | 'type' => 'String', | |
95 | 'quick_form_type' => 'text', | |
96 | 'default' => 'CRM/common/fatal.tpl', | |
97 | 'add' => '4.3', | |
98 | 'title' => 'Fatal Error Template', | |
99 | 'is_domain' => 1, | |
100 | 'is_contact' => 0, | |
101 | 'description' => "Enter the path and filename for a custom Smarty template if you want to define your own screen for displaying fatal errors.", | |
102 | 'prefetch' => 1, | |
103 | ), | |
104 | 'fatalErrorHandler' => array( | |
105 | 'group_name' => 'Developer Preferences', | |
106 | 'group' => 'developer', | |
107 | 'name' => 'fatalErrorHandler', | |
108 | 'config_only' => 1, // store only in config - this is expected to be transitional | |
109 | 'type' => 'String', | |
110 | 'quick_form_type' => 'text', | |
111 | 'default' => 'null', | |
112 | 'add' => '4.3', | |
113 | 'title' => 'Fatal Error Handler', | |
114 | 'is_domain' => 1, | |
115 | 'is_contact' => 0, | |
116 | 'description' => "Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.", | |
117 | 'prefetch' => 1, | |
118 | ), | |
232624b1 | 119 | ); |