public static function getLogFilePath() { if (!empty(PayqrConfig::$logFilePath)) { $path = PayqrConfig::getSiteBasePath() . PayqrConfig::$logFilePath; } else { $settings = new PayqrButtonDefaultSettings(); $path = PayqrConfig::getSiteBasePath() . $settings->getLogPath(); } return $path; }