getgrav / grav-plugin-sitemap

Grav Sitemap Plugin
https://getgrav.org
MIT License
42 stars 42 forks source link

Exclude tracy code? #1

Closed robwent closed 9 years ago

robwent commented 10 years ago

Not really a massive issue as tracy would be off in production but the code gets outputted at the bottom of the sitemap page

rhukster commented 10 years ago

Ah thanks for mentioning that. We're actually in the process of replacing Tracy with PHPDebugBar and Whoops for errors. I want o make sure this is addressed as part of that transition so will leave this ticket open for now.

robwent commented 10 years ago

PHPDebugBar looks good. Is the anyway to limit the output to only html pages?

rhukster commented 10 years ago

Actually yes, PHPDebugBar supports disabling rendering when in JSON or Ajax mode:

http://phpdebugbar.com/docs/ajax-and-stack.html

It's pretty darn cool :)

robwent commented 10 years ago

sorted :)