|
5 | 5 | <vqmver required="true">2.6.0</vqmver> |
6 | 6 | <author>Michal Landsman</author> |
7 | 7 |
|
8 | | - <file path="system/startup.php"> |
9 | | - <operation info="bring tracy"> |
10 | | - <search position="before"> |
11 | | - <![CDATA[function library($class) {]]> |
12 | | - </search> |
13 | | - <add> |
14 | | - <![CDATA[ |
15 | | - if(defined('DEV') && true == DEV) { |
16 | | -
|
17 | | - Tracy\Debugger::enable(Tracy\Debugger::DEVELOPMENT, DIR_LOGS); |
18 | | - Tracy\Debugger::$strictMode = TRUE; |
19 | | -
|
20 | | - if(defined('DEV_EMAIL')) { |
21 | | - Tracy\Debugger::$email = DEV_EMAIL; |
22 | | - } |
23 | | -
|
24 | | - // register opencart panels |
25 | | - $panels = new TracyPanel\Plugin(); |
26 | | - } |
27 | | - ]]> |
28 | | - </add> |
29 | | - </operation> |
30 | | - </file> |
31 | | - |
32 | 8 | <file path="system/engine/loader.php"> |
33 | 9 | <operation info="log templates"> |
34 | 10 | <search position="after"> |
|
37 | 13 | <add> |
38 | 14 | <![CDATA[ |
39 | 15 | $_SESSION['_tracy']['templates_log'][] = $route; |
40 | | - //$output = '<span data-type="suggestions" data-template="'.$route.'" >' . $output . '</span>'; |
| 16 | + // todo: think about this for future - some javascript tooltips |
| 17 | + // $output = '<span data-type="suggestions" data-template="'.$route.'" >' . $output . '</span>'; |
41 | 18 | ]]> |
42 | 19 | </add> |
43 | 20 | </operation> |
|
90 | 67 | ]]> |
91 | 68 | </add> |
92 | 69 | </operation> |
| 70 | + <operation info="bring tracy"> |
| 71 | + <search position="after"> |
| 72 | + <![CDATA[$session = new Session();]]> |
| 73 | + </search> |
| 74 | + <add> |
| 75 | + <![CDATA[ |
| 76 | + if(defined('DEV') && true == DEV) { |
| 77 | +
|
| 78 | + Tracy\Debugger::enable(Tracy\Debugger::DEVELOPMENT, DIR_LOGS); |
| 79 | + Tracy\Debugger::$strictMode = TRUE; |
| 80 | +
|
| 81 | + if(defined('DEV_EMAIL')) { |
| 82 | + Tracy\Debugger::$email = DEV_EMAIL; |
| 83 | + } |
| 84 | +
|
| 85 | + // register opencart panels |
| 86 | + $panels = new TracyPanel\Plugin(); |
| 87 | + } |
| 88 | + ]]> |
| 89 | + </add> |
| 90 | + </operation> |
93 | 91 | </file> |
94 | 92 |
|
95 | 93 | <file path="system/library/db.php"> |
|
0 commit comments