Skip to content

Commit 4fb3665

Browse files
authored
Merge pull request barryvdh#976 from bilaliqbalr/master
Replaced hard-coded _debugbar with config variable
2 parents c02fe5b + 9b42a02 commit 4fb3665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelDebugbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ public function isEnabled()
782782
*/
783783
protected function isDebugbarRequest()
784784
{
785-
return $this->app['request']->segment(1) == '_debugbar';
785+
return $this->app['request']->segment(1) == $this->app['config']->get('debugbar.route_prefix');
786786
}
787787

788788
/**

0 commit comments

Comments
 (0)