Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debugbar code appended to exported file #21

Closed
chauchakching opened this issue Jun 20, 2017 · 2 comments
Closed

debugbar code appended to exported file #21

chauchakching opened this issue Jun 20, 2017 · 2 comments
Labels
Status: Review Needed Requires review from a maintainer or trusted community member Type: Unconfirmed Bug Report that hasn't been verified / reproduced by a maintainer or trusted community member yet

Comments

@chauchakching
Copy link

The debugbar code is appended to exported file as well...
It should check the response output format before appending the debugbar code.

@abnerpsoares
Copy link

abnerpsoares commented Apr 18, 2019

On my Plugin.php, I've put this code inside the public function boot() method:

Event::listen('backend.page.beforeDisplay', function($controller, $action, $params){
       if( $action == 'download' ){
           \Debugbar::disable();
       }
});

@bennothommo bennothommo added Status: Review Needed Requires review from a maintainer or trusted community member Type: Unconfirmed Bug Report that hasn't been verified / reproduced by a maintainer or trusted community member yet labels Feb 8, 2021
@daftspunk
Copy link
Member

Advise above looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Requires review from a maintainer or trusted community member Type: Unconfirmed Bug Report that hasn't been verified / reproduced by a maintainer or trusted community member yet
Projects
None yet
Development

No branches or pull requests

4 participants