kohanut
kohanut copied to clipboard
Profiling not working as expected
In application/bootstrap.php, the following : 'profiling' => ! IN_PRODUCTION,
should be : 'profile' => ! IN_PRODUCTION,
(per the documentation above)...
All the Best Martin :-)
In addition, if database profiling is FALSE, then Kohanut::render_stats() fails.
To fix this, in classes/kohanut/core.php : $queries = count($queries['database (default)']); should be : $queries = isset($queries['database (default)'])?count($queries['database (default)']):'unknown';