File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ For more information see official [Tracy repository](https://github.com/nette/tr
1616```
1717 "scripts": {
1818 "post-install-cmd": [
19- "php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'public /vqmod/xml/tracy.xml');\""
19+ "php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'upload /vqmod/xml/tracy.xml');\""
2020 ],
2121 "post-update-cmd": [
22- "php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'public /vqmod/xml/tracy.xml');\""
22+ "php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'upload /vqmod/xml/tracy.xml');\""
2323 ]
2424 }
2525```
2626
2727It will move vqmod xml file to correct folder.
2828
29294 . add constant ` define('DEV', true); ` to your config.php, /admin/config.php
30- 5 . optionally you can add row to your ` .gitignore ` file with path to tracy.xml (example: public /vqmod/xml/tracy.xml)
30+ 5 . optionally you can add row to your ` .gitignore ` file with path to tracy.xml (example: upload /vqmod/xml/tracy.xml)
31316 . celebrate!
Original file line number Diff line number Diff line change 104104 $trace = debug_backtrace();
105105 $filename = (isset($trace[0]['file'])) ? $trace[0]['file'] : '---';
106106
107- $cmsPath = str_replace('public/system/', '', DIR_SYSTEM);
107+ $cmsPath = str_replace('upload/system/', '', DIR_SYSTEM);
108+ $cmsPath = str_replace('public/system/', '', $cmsPath);
108109 $pureFile = str_replace($cmsPath, '', $filename);
109110
110111
You can’t perform that action at this time.
0 commit comments