Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit d7320f7

Browse files
committed
Use Kernel::getEnvironment() to keep consistency
1 parent e9cea06 commit d7320f7

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
@@ -35,7 +35,7 @@ public function getRootDir()
3535

3636
public function getCacheDir()
3737
{
38-
return dirname(__DIR__).'/var/cache/'.$this->environment;
38+
return dirname(__DIR__).'/var/cache/'.$this->getEnvironment();
3939
}
4040

4141
public function getLogDir()

0 commit comments

Comments
 (0)