1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/core/Config/DatabaseConfig.php
Stefan Giehl fce1e8876a Always use utf8 for load data infile on tidb (#22485)
* Always use utf8 for load data infile on tidb

* add method to check for tidb
2024-08-08 11:57:28 +02:00

24 خطوط
438 B
PHP

<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Config;
class DatabaseConfig extends SectionConfig
{
public static function getSectionName(): string
{
return 'database';
}
public static function isTiDb(): bool
{
return self::getConfigValue('schema') === 'Tidb';
}
}