We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff0fd6 commit 580c0acCopy full SHA for 580c0ac
.symfony.cloud.yaml
@@ -20,6 +20,10 @@ web:
20
21
disk: 2048
22
23
+variables:
24
+ php:
25
+ opcache.preload: /app/config/preload.php
26
+
27
mounts:
28
'/var': { source: local, source_path: var }
29
config/preload.php
@@ -0,0 +1,5 @@
1
+<?php
2
3
+if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
4
+ require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
5
+}
0 commit comments