Skip to content

Commit

Permalink
use sepatate folders for cache and log in each environments
Browse files Browse the repository at this point in the history
  • Loading branch information
paulandrieux authored and lenybernard committed Oct 7, 2016
1 parent 221df64 commit a7b91fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Functionnal/app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ public function registerContainerConfiguration(LoaderInterface $loader)
*/
public function getCacheDir()
{
return sys_get_temp_dir().'/Victoire/cache';
return sys_get_temp_dir().'/Victoire/cache/'.$this->environment;
}

/**
* @return string
*/
public function getLogDir()
{
return sys_get_temp_dir().'/Victoire/logs';
return sys_get_temp_dir().'/Victoire/logs/'.$this->environment;
}

/**
Expand Down

0 comments on commit a7b91fb

Please sign in to comment.