Skip to content

Commit 1dfe8f9

Browse files
committed
Change symfony cache path to reflect deploy path
In deploy a different cache and log path are used. When performing a clean install this will result in errors because an unknown path is being used. This change will resolve that.
1 parent 792b1cf commit 1dfe8f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/AppKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function getCacheDir()
6464
// In the dev & test environments use a folder outside the shared filesystem. This greatly improves cache clear
6565
// and warmup time.
6666
if ($this->getEnvironment() === 'dev' || $this->getEnvironment() === 'test') {
67-
return sprintf('/tmp/eb_cache/%s', $this->getEnvironment());
67+
return sprintf('/tmp/engineblock/cache/%s', $this->getEnvironment());
6868
}
6969

7070
return $this->rootDir . '/cache/' . $this->environment;

0 commit comments

Comments
 (0)