Created
September 27, 2016 09:23
-
-
Save alexandresalome/8ea3f0b27ba74846d49ec9e45dbb0b64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getCacheDir() | |
{ | |
$dir = getenv('SYMFONY__CACHE_DIR') ?: dirname(__DIR__).'/var/cache'; | |
return $dir.'/'.$this->getEnvironment(); | |
} | |
public function getLogDir() | |
{ | |
$dir = getenv('SYMFONY__LOGS_DIR') ?: dirname(__DIR__).'/var/logs'; | |
return $dir; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment