Skip to content

Commit

Permalink
Clarify text (#1444)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Aug 24, 2023
1 parent cde481e commit a9daaa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controllers/OpenHandlerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function handle(Request $request)
'id' => null,
'ip' => $request->getClientIp(),
'method' => 'ERROR',
'uri' => '!! To enable public access to previous requests, set debugbar.storage.open, or DEBUGBAR_OPEN_STORAGE to true in you config !!',
'uri' => '!! To enable public access to previous requests, set debugbar.storage.open to true in your config, or enable DEBUGBAR_OPEN_STORAGE if you did not publish the config. !!',
'utime' => microtime(true),
]
];
Expand All @@ -64,7 +64,7 @@ public function handle(Request $request)
public function clockwork(Request $request, $id)
{
if (!$this->isStorageOpen($request)) {
throw new DebugBarException(" o enable public access to previous requests, set debugbar.storage.open, or DEBUGBAR_OPEN_STORAGE to true in you config");
throw new DebugBarException("To enable public access to previous requests, set debugbar.storage.open to true in your config, or enable DEBUGBAR_OPEN_STORAGE if you did not publish the config.");
}

$request = [
Expand Down

0 comments on commit a9daaa2

Please sign in to comment.