Merge pull request #4111 from totten/4.5-schedrem-order
[civicrm-core.git] / settings / Developer.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
f5721b07 4 | CiviCRM version 4.5 |
6a488035 5 +--------------------------------------------------------------------+
f5721b07 6 | Copyright CiviCRM LLC (c) 2004-2014 |
6a488035
TO
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
f5721b07 31 * @copyright CiviCRM LLC (c) 2004-2014
6a488035
TO
32 * $Id$
33 *
34 */
35/*
36 * Settings metadata file
37 */
38
39return array(
40 'debug_enabled' => array(
41 'group_name' => 'Developer Preferences',
42 'group' => 'developer',
43 'name' => 'debug_enabled',
6a488035
TO
44 'config_key' => 'debug', // we can't call the setting debug as that has other meanings in api
45 'type' => 'Boolean',
46 'quick_form_type' => 'YesNo',
47 'default' => '0',
48 'add' => '4.3',
49 'title' => 'Enable Debugging',
50 'is_domain' => 1,
51 'is_contact' => 0,
52 '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",
53 'prefetch' => 1,
54 'help_text' => 'Do not turn this on on production sites',
55 ),
56 'userFrameworkLogging' => array(
57 'group_name' => 'Developer Preferences',
58 'group' => 'developer',
59 'name' => 'userFrameworkLogging',
6a488035
TO
60 'type' => 'Boolean',
61 'quick_form_type' => 'YesNo',
62 'default' => '0',
63 'add' => '4.3',
64 'title' => 'Enable Drupal Watchdog Logging',
65 'is_domain' => 1,
66 'is_contact' => 0,
67 'description' => "Set this value to Yes if you want CiviCRM error/debugging messages to also appear in Drupal error logs",
68 'prefetch' => 1,
69 'help_text' => "Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS' error log.
70In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal's watchdog enabled)",
71 ),
72 'backtrace' => array(
73 'group_name' => 'Developer Preferences',
74 'group' => 'developer',
75 'name' => 'backtrace',
6a488035
TO
76 'type' => 'Boolean',
77 'quick_form_type' => 'YesNo',
78 'default' => '0',
79 'add' => '4.3',
80 'title' => 'Display Backtrace',
81 'is_domain' => 1,
82 'is_contact' => 0,
83 '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",
84 'prefetch' => 1,
85 ),
86 'fatalErrorTemplate' => array(
87 'group_name' => 'Developer Preferences',
88 'group' => 'developer',
89 'name' => 'fatalErrorTemplate',
6a488035 90 'type' => 'String',
fd0e547b
EM
91 'quick_form_type' => 'Element',
92 'html_type' => 'text',
6a488035
TO
93 'default' => 'CRM/common/fatal.tpl',
94 'add' => '4.3',
95 'title' => 'Fatal Error Template',
96 'is_domain' => 1,
97 'is_contact' => 0,
98 'description' => "Enter the path and filename for a custom Smarty template if you want to define your own screen for displaying fatal errors.",
99 'prefetch' => 1,
100 ),
101 'fatalErrorHandler' => array(
102 'group_name' => 'Developer Preferences',
103 'group' => 'developer',
104 'name' => 'fatalErrorHandler',
6a488035 105 'type' => 'String',
fd0e547b
EM
106 'quick_form_type' => 'Element',
107 'html_type' => 'text',
1e290629 108 'default' => null,
6a488035
TO
109 'add' => '4.3',
110 'title' => 'Fatal Error Handler',
111 'is_domain' => 1,
112 'is_contact' => 0,
113 '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.",
114 'prefetch' => 1,
115 ),
232624b1 116);