Skip to content

Commit

Permalink
Fix: #2830 - do not serialise objects in the array cache - it breaks …
Browse files Browse the repository at this point in the history
…references
  • Loading branch information
Greg Roach committed Dec 11, 2019
1 parent 79561ef commit 1410d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/UseCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class UseCache implements MiddlewareInterface
*/
public function __construct()
{
$this->array_adapter = new ArrayAdapter();
$this->array_adapter = new ArrayAdapter(0, false);
$this->files_adapter = new FilesystemAdapter('', self::FILES_TTL, self::FILES_DIR);
}

Expand Down

0 comments on commit 1410d99

Please sign in to comment.