File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,6 @@ protected function createSurrogate(): SurrogateInterface
8383
8484 protected function createStore (): StoreInterface
8585 {
86- return $ this ->store ?? new Store ($ this ->cacheDir ?: $ this ->kernel ->getCacheDir ().'/http_cache ' );
86+ return $ this ->store ?? new Store ($ this ->cacheDir ?: $ this ->kernel ->getShareDir ().'/http_cache ' );
8787 }
8888}
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
116116
117117 ->set ('http_cache.store ' , Store::class)
118118 ->args ([
119- param ('kernel.cache_dir ' ).'/http_cache ' ,
119+ param ('kernel.share_dir ' ).'/http_cache ' ,
120120 ])
121121 ->alias (StoreInterface::class, 'http_cache.store ' )
122122
You can’t perform that action at this time.
0 commit comments