- WIP on picea-asset AND fixing ApplicationStrategy allowing PHP-DI caching
This commit is contained in:
1 parent
3f92287829
commit
4dcc7f407e
4 files changed
+70
-33
No files matched your search
+2
-2
@@ -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/");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user