SQLite Log format

This commit is contained in:
Eric Espie
2022-03-07 12:00:04 +01:00
parent b6cfb40f8f
commit 37dd887cf1

View File

@@ -467,8 +467,8 @@ class FileLog
*/
public function __construct($sFileName = '')
{
$this->oFileNameBuilder = LogFileNameBuilderFactory::GetInstance($sFileName); $sLogFilePath = $this->oFileNameBuilder->GetLogFilePath();
$this->oFileNameBuilder = LogFileNameBuilderFactory::GetInstance($sFileName);
$sLogFilePath = $this->oFileNameBuilder->GetLogFilePath();
$this->bHasSQLite = class_exists('SQLite3');
if ($this->bHasSQLite) {
if (empty($sLogFilePath)) {