Fix: loghandler loaded twice

This commit is contained in:
Laurent Destailleur 2013-01-28 12:35:29 +01:00
parent b98151db94
commit db38c9baac

View File

@ -454,7 +454,7 @@ class Conf
throw new Exception('Log handler does not extend LogHandlerInterface');
}
$this->loghandlers[$handler]=$loghandlerinstance;
if (empty($conf->loghandlers[$handler])) $this->loghandlers[$handler]=$loghandlerinstance;
}
}
}