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 @@ -115,7 +115,7 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
115115
116116 ->set ('http_cache.store ' , Store::class)
117117 ->args ([
118- param ('kernel.cache_dir ' ).'/http_cache ' ,
118+ param ('kernel.share_dir ' ).'/http_cache ' ,
119119 ])
120120 ->alias (StoreInterface::class, 'http_cache.store ' )
121121
You can’t perform that action at this time.
0 commit comments