* Server config checks management
namespace PhpMyAdmin\Config;
use PhpMyAdmin\Setup\Index as SetupIndex;
use function function_exists;
use function htmlspecialchars;
use function sodium_crypto_secretbox_keygen;
use const SODIUM_CRYPTO_SECRETBOX_KEYBYTES;
* Performs various compatibility, security and consistency checks on current config
* Outputs results to message list, must be called between SetupIndex::messagesBegin()
* and SetupIndex::messagesEnd()
/** @var ConfigFile configurations being checked */
* @param ConfigFile $cfg Configuration
public function __construct(ConfigFile $cfg)