Skip to content

Commit f3d761f

Browse files
committed
Also added debug to the example
1 parent f3fe291 commit f3d761f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ For the Symfony 4/Flex structure, you need to adjust your `index.php` like this:
6565

6666
// public/index.php
6767
$kernel = new Kernel($env, $debug);
68-
$kernel = new HttpCache($kernel, new Psr6Store(['cache_directory' => $kernel->getCacheDir()]));
68+
$kernel = new HttpCache(
69+
$kernel,
70+
new Psr6Store(['cache_directory' => $kernel->getCacheDir()]), [
71+
'debug' => $debug,
72+
]);
6973
```
7074

7175
That's it, that's all there is to do. The `Psr6Store` will automatically

0 commit comments

Comments
 (0)