- WIP on picea-asset AND fixing ApplicationStrategy allowing PHP-DI caching

This commit is contained in:
mcndave committed 2023-10-16 13:59:21 -04:00
1 parent 3f92287829
commit 4dcc7f407e
4 files changed
+70 -33

No files matched your search

+2 -2
View File
@@ -110,8 +110,8 @@ class Kernel {
if (getenv("APP_ENV") === "prod") {
if (getenv("CACHE_PATH")) {
# $containerBuilder->enableCompilation(getenv("CACHE_PATH") . "/di/");
# $containerBuilder->writeProxiesToFile(true);
$containerBuilder->enableCompilation(getenv("CACHE_PATH") . "/di/");
$containerBuilder->writeProxiesToFile(true, getenv("CACHE_PATH") . "/di/proxies/");
}
}