Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
819d0d41 | 3 | | CiviCRM version 4.5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | <div class="crm-block crm-form-block crm-debugging-form-block"> | |
27 | <div id="help"> | |
28 | {ts}In addition to the settings on this screen, there are a number of settings you can add to your sites's settings file (civicrm.settings.php) to provide additional debugging information.{/ts} {docURL page="developer/development-environment/debugging"} | |
29 | </div> | |
30 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
31 | <table class="form-layout"> | |
32 | <tr class="crm-debugging-form-block-debug"> | |
33 | <td class="label">{$form.debug.label}</td> | |
34 | <td>{$form.debug.html}<br /> | |
35 | <span class="description">{ts}Set this value to <strong>Yes</strong> if you want to use one of CiviCRM's debugging tools. <strong>This feature should NOT be enabled for production sites</strong>{/ts} {help id='debug'}</span></td> | |
36 | </tr> | |
37 | {if $form.userFrameworkLogging} | |
38 | <tr class="crm-debugging-form-block-userFrameworkLogging"> | |
39 | <td class="label">{$form.userFrameworkLogging.label}</td> | |
40 | <td>{$form.userFrameworkLogging.html}<br /> | |
41 | <span class="description">{ts}Set this value to <strong>Yes</strong> if you want CiviCRM error/debugging messages to also appear in Drupal error logs{/ts} {help id='userFrameworkLogging'}</span></td> | |
42 | </tr> | |
43 | {/if} | |
44 | <tr class="crm-debugging-form-block-backtrace"> | |
45 | <td class="label">{$form.backtrace.label}</td> | |
46 | <td>{$form.backtrace.html}<br /> | |
47 | <span class="description">{ts}Set this value to <strong>Yes</strong> if you want to display a backtrace listing when a fatal error is encountered. <strong>This feature should NOT be enabled for production sites</strong>{/ts}</span></td> | |
48 | </tr> | |
49 | <tr class="crm-debugging-form-block-fatalErrorTemplate"> | |
50 | <td class="label">{$form.fatalErrorTemplate.label}</td> | |
51 | <td>{$form.fatalErrorTemplate.html}<br /> | |
52 | <span class="description">{ts}Enter the path and filename for a custom Smarty template if you want to define your own screen for displaying fatal errors.{/ts}</span></td> | |
53 | </tr> | |
54 | <tr class="crm-debugging-form-block-fatalErrorHandler"> | |
55 | <td class="label">{$form.fatalErrorHandler.label}</td> | |
56 | <td>{$form.fatalErrorHandler.html}<br /> | |
57 | <span class="description">{ts}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.{/ts}</span></td> | |
58 | </tr> | |
59 | </table> | |
60 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
61 | <div class="spacer"></div> | |
62 | </div> |