(NFC) (dev/core#878) Simplify copyright header (misc)
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Debugging.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
fee14197 3 | CiviCRM version 5 |
6a488035 4 +--------------------------------------------------------------------+
f299f7db 5 | Copyright CiviCRM LLC (c) 2004-2020 |
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*}
f6eedce7 26<div class="help">
8577d1ef 27 {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="Debugging for developers" resource="wiki"}
6a488035 28</div>
2c3c9a71 29<div class="crm-block crm-form-block crm-debugging-form-block">
6a488035
TO
30<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
31 <table class="form-layout">
6a488035
TO
32 {if $form.userFrameworkLogging}
33 <tr class="crm-debugging-form-block-userFrameworkLogging">
34 <td class="label">{$form.userFrameworkLogging.label}</td>
35 <td>{$form.userFrameworkLogging.html}<br />
0b2bdd13 36 <span class="description">{ts}Set this value to <strong>Yes</strong> if you want CiviCRM error/debugging messages to appear in the Drupal error logs{/ts} {help id='userFrameworkLogging'}</span></td>
6a488035
TO
37 </tr>
38 {/if}
0b2bdd13
J
39 <tr class="crm-debugging-form-block-debug">
40 <td class="label">{$form.debug_enabled.label}</td>
41 <td>{$form.debug_enabled.html}<br />
42 <span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to use one of CiviCRM's debugging tools.{/ts} {help id='debug'}</span></td>
43 </tr>
6a488035
TO
44 <tr class="crm-debugging-form-block-backtrace">
45 <td class="label">{$form.backtrace.label}</td>
46 <td>{$form.backtrace.html}<br />
0b2bdd13 47 <span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to display a backtrace listing when a fatal error is encountered.{/ts}</span></td>
6a488035 48 </tr>
f008885c
E
49 <tr class="crm-debugging-form-block-environment">
50 <td class="label">{$form.environment.label}</td>
51 <td>{$form.environment.html}<br />
52 <span class="description">{ts}Set this value to <strong>Staging/Development</strong> to prevent cron jobs & mailings from being executed.{/ts}</span></td>
53 </tr>
6a488035
TO
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>
e7b8261d
TO
59 <tr class="crm-debugging-form-block-assetCache">
60 <td class="label">{$form.assetCache.label}</td>
61 <td>{$form.assetCache.html}<br />
62 <span class="description">{ts}Store computed JS/CSS content in cache files? (Note: In "Auto" mode, the "Debug" setting will determine whether to activate the cache.){/ts}</span></td>
63 </tr>
6a488035
TO
64 </table>
65 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
66<div class="spacer"></div>
67</div>