Add Kint debugging tools to a Concrete5 website.
Kint is a tool designed to present your debugging data in the absolutely best way possible.
Disclaimer : I am not the developer of Kint, see Kint documentation for more informations.
The use of Kint is described in the official documentation.
For example :
d($this->getRelativePath());
d($_SERVER);
Note that Kint will be disabled if concrete.debug.display_errors
is false
.
If you want to manually enable/disable Kint, you can use :
<?php
// Enable Kint
\Kint::enabled(true);
// Disable Kint
\Kint::enabled(false);