Reputation: 85
I put this line on my .env file on my laravel application
DEBUGBAR_ENABLED=false
APP_DEBUG=false
But the app debug bar is still showing on the frontend? How can I remove this?
Upvotes: 2
Views: 2305
Reputation: 2730
Your configurations are probably cached. Otherwise, setting APP_DEBUG=false
should have been enough.
Try clearing the config cache with:
php artisan config:clear
Upvotes: 0
Reputation: 1585
Just try this
Navigate to app/Providers/AppServiceProvider.php
Put this code \Debugbar::disable();
class AppServiceProvider extends ServiceProvider
{
public function boot()
{
\Debugbar::disable();
}
}
Upvotes: 3