update changelog and fix cs

This commit is contained in:
Manuel Raynaud
2014-02-22 19:01:37 +01:00
parent b833b4a5b6
commit a5cfcf91ca
590 changed files with 21397 additions and 24262 deletions

View File

@@ -46,11 +46,13 @@ class TlogDestinationFile extends AbstractTlogDestination
parent::__construct();
}
protected function getFilePath() {
protected function getFilePath()
{
return $this->getConfig(self::VAR_PATH_FILE);
}
protected function getOpenMode() {
protected function getOpenMode()
{
return strtolower($this->getConfig(self::VAR_MODE, self::VALEUR_MODE_DEFAULT)) == 'a' ? 'a' : 'w';
}

View File

@@ -23,7 +23,6 @@
namespace Thelia\Log\Destination;
use Thelia\Log\TlogDestinationConfig;
use Thelia\Core\Translation\Translator;
@@ -98,4 +97,4 @@ class TlogDestinationRotatingFile extends TlogDestinationFile
return $arr;
}
}
}