| /** | |
| * 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'; | |
| } | |
| } | |