Source
$this->setError(_s('The Zabbix database version does not match current requirements. Your database version: %1$s. Required version: %2$s. Please contact your system administrator.',
<?php
/*
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
/**
* Abstract database backend class.
*/
abstract class DbBackend {
protected $warning;
/**
* Error message.
*
* @var string
*/
protected $error;
/**
* TLS encryption on/off.
*
* @var bool
*/
protected $tls_encryption = false;
/**
* Path to TLS key file.
*
* @var string
*/
protected $tls_key_file = '';
/**
* Path to TLS cert file.
*
* @var string
*/
protected $tls_cert_file = '';
/**
* Path to TLS ca file.
*
* @var string
*/
protected $tls_ca_file = '';
/**
* True - need host verification..
*
* @var bool
*/