Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cf389d9

Browse filesBrowse files
Updated Telescope setup for local environments (#10064)
* Update telescope.md * Update telescope.md * Update telescope.md --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent ace0221 commit cf389d9
Copy full SHA for cf389d9

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎telescope.md

Copy file name to clipboardExpand all lines: telescope.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ After running `telescope:install`, you should remove the `TelescopeServiceProvid
7878
*/
7979
public function register(): void
8080
{
81-
if ($this->app->environment('local')) {
81+
if ($this->app->environment('local') && class_exists(\Laravel\Telescope\TelescopeServiceProvider::class)) {
8282
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
8383
$this->app->register(TelescopeServiceProvider::class);
8484
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.