commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / settings / Developer.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.6 |
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
39 return array(
40 'userFrameworkLogging' => array(
41 'group_name' => 'Developer Preferences',
42 'group' => 'developer',
43 'name' => 'userFrameworkLogging',
44 'type' => 'Boolean',
45 'quick_form_type' => 'YesNo',
46 'default' => '0',
47 'add' => '4.3',
48 'title' => 'Enable Drupal Watchdog Logging',
49 'is_domain' => 1,
50 'is_contact' => 0,
51 'description' => "Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs",
52 'prefetch' => 1,
53 'help_text' => "Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal's watchdog enabled)",
54 ),
55 'debug_enabled' => array(
56 'group_name' => 'Developer Preferences',
57 'group' => 'developer',
58 'name' => 'debug_enabled',
59 'config_key' => 'debug', // we can't call the setting debug as that has other meanings in api
60 'type' => 'Boolean',
61 'quick_form_type' => 'YesNo',
62 'default' => '0',
63 'add' => '4.3',
64 'title' => 'Enable Debugging',
65 'is_domain' => 1,
66 'is_contact' => 0,
67 '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",
68 'prefetch' => 1,
69 'help_text' => 'Do not turn this on on production sites',
70 ),
71 'backtrace' => array(
72 'group_name' => 'Developer Preferences',
73 'group' => 'developer',
74 'name' => 'backtrace',
75 'type' => 'Boolean',
76 'quick_form_type' => 'YesNo',
77 'default' => '0',
78 'add' => '4.3',
79 'title' => 'Display Backtrace',
80 'is_domain' => 1,
81 'is_contact' => 0,
82 '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",
83 'prefetch' => 1,
84 ),
85 'fatalErrorTemplate' => array(
86 'group_name' => 'Developer Preferences',
87 'group' => 'developer',
88 'name' => 'fatalErrorTemplate',
89 'type' => 'String',
90 'quick_form_type' => 'Element',
91 'html_type' => 'text',
92 'default' => 'CRM/common/fatal.tpl',
93 'add' => '4.3',
94 'title' => 'Fatal Error Template',
95 'is_domain' => 1,
96 'is_contact' => 0,
97 'description' => "Enter the path and filename for a custom Smarty template if you want to define your own screen for displaying fatal errors.",
98 'prefetch' => 1,
99 ),
100 'fatalErrorHandler' => array(
101 'group_name' => 'Developer Preferences',
102 'group' => 'developer',
103 'name' => 'fatalErrorHandler',
104 'type' => 'String',
105 'quick_form_type' => 'Element',
106 'html_type' => 'text',
107 'default' => NULL,
108 'add' => '4.3',
109 'title' => 'Fatal Error Handler',
110 'is_domain' => 1,
111 'is_contact' => 0,
112 '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.",
113 'prefetch' => 1,
114 ),
115 );