1 | <?php |
||
2 | /** |
||
3 | * Twig Profiler plugin for Craft CMS |
||
4 | * |
||
5 | * Twig Profiler allows you to profile sections of your Twig templates, and see |
||
6 | * the resulting timings in the Yii2 Debug Toolbar |
||
7 | * |
||
8 | * @link https://nystudio107.com/ |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
9 | * @copyright Copyright (c) nystudio107 |
||
0 ignored issues
–
show
|
|||
10 | */ |
||
0 ignored issues
–
show
|
|||
11 | |||
12 | /** |
||
13 | * Twig Profiler config.php |
||
14 | * |
||
15 | * This file exists only as a template for the Twig Profiler settings. |
||
16 | * It does nothing on its own. |
||
17 | * |
||
18 | * Don't edit this file, instead copy it to 'craft/config' as 'twig-profiler.php' |
||
19 | * and make your changes there to override default settings. |
||
20 | * |
||
21 | * Once copied to 'craft/config', this file will be multi-environment aware as |
||
22 | * well, so you can have different settings groups for each environment, just |
||
23 | * as you do for 'general.php' |
||
24 | */ |
||
25 | |||
26 | return [ |
||
27 | |||
28 | // Controls whether to append the template name to the profile category |
||
29 | 'appendTemplateName' => true, |
||
30 | ]; |
||
31 |