CRM-18516 add job for clearing of caches, separated from the rebuild job
[civicrm-core.git] / settings / Developer.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
81621fee 4 | CiviCRM version 4.7 |
6a488035 5 +--------------------------------------------------------------------+
fa938177 6 | Copyright CiviCRM LLC (c) 2004-2016 |
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 +--------------------------------------------------------------------+
d25dd0ee 26 */
6a488035
TO
27
28/**
29 *
30 * @package CRM
fa938177 31 * @copyright CiviCRM LLC (c) 2004-2016
6a488035
TO
32 * $Id$
33 *
34 */
35/*
36 * Settings metadata file
37 */
38
39return array(
0b2bdd13 40 'userFrameworkLogging' => array(
6a488035
TO
41 'group_name' => 'Developer Preferences',
42 'group' => 'developer',
0b2bdd13 43 'name' => 'userFrameworkLogging',
6a488035
TO
44 'type' => 'Boolean',
45 'quick_form_type' => 'YesNo',
46 'default' => '0',
47 'add' => '4.3',
0b2bdd13 48 'title' => 'Enable Drupal Watchdog Logging',
6a488035
TO
49 'is_domain' => 1,
50 'is_contact' => 0,
0b2bdd13 51 'description' => "Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs",
0b2bdd13 52 '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)",
6a488035 53 ),
0b2bdd13 54 'debug_enabled' => array(
6a488035
TO
55 'group_name' => 'Developer Preferences',
56 'group' => 'developer',
0b2bdd13
J
57 'name' => 'debug_enabled',
58 'config_key' => 'debug', // we can't call the setting debug as that has other meanings in api
6a488035
TO
59 'type' => 'Boolean',
60 'quick_form_type' => 'YesNo',
61 'default' => '0',
62 'add' => '4.3',
0b2bdd13 63 'title' => 'Enable Debugging',
6a488035
TO
64 'is_domain' => 1,
65 'is_contact' => 0,
0b2bdd13 66 '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",
0b2bdd13 67 'help_text' => 'Do not turn this on on production sites',
6a488035
TO
68 ),
69 'backtrace' => array(
70 'group_name' => 'Developer Preferences',
71 'group' => 'developer',
72 'name' => 'backtrace',
6a488035
TO
73 'type' => 'Boolean',
74 'quick_form_type' => 'YesNo',
75 'default' => '0',
76 'add' => '4.3',
77 'title' => 'Display Backtrace',
78 'is_domain' => 1,
79 'is_contact' => 0,
80 '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",
6a488035 81 ),
6a488035
TO
82 'fatalErrorHandler' => array(
83 'group_name' => 'Developer Preferences',
84 'group' => 'developer',
85 'name' => 'fatalErrorHandler',
6a488035 86 'type' => 'String',
fd0e547b
EM
87 'quick_form_type' => 'Element',
88 'html_type' => 'text',
08e57c58 89 'default' => NULL,
6a488035
TO
90 'add' => '4.3',
91 'title' => 'Fatal Error Handler',
92 'is_domain' => 1,
93 'is_contact' => 0,
94 '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.",
6a488035 95 ),
232624b1 96);