// Fix FileLogger in installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15124 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2012-05-09 15:38:36 +00:00
1 parent 58bca9ddb4
commit c55ebd35ff
1 file changed
+2 -1
+2 -1
View File
@@ -39,7 +39,8 @@ class InstallModelInstall extends InstallAbstractModel
parent::__construct(); parent::__construct();
$this->logger = new FileLogger(); $this->logger = new FileLogger();
$this->logger->setFilename(_PS_ROOT_DIR_.'/log/'.@date('Ymd').'_installation.log'); if (is_writable(_PS_ROOT_DIR_.'/log/'))
$this->logger->setFilename(_PS_ROOT_DIR_.'/log/'.@date('Ymd').'_installation.log');
} }
public function setError($errors) public function setError($errors)