array($locale['disable'], $locale['enable']), * "inline"=>true)); into administration/security_settings.php */ DatabaseFactory::setDefaultDriver((!empty($db_driver) && $db_driver === 'pdo' || !empty($pdo_enabled) && $pdo_enabled === 1) ? DatabaseFactory::DRIVER_PDO_MYSQL : DatabaseFactory::DRIVER_MYSQLi); DatabaseFactory::registerConfiguration(DatabaseFactory::getDefaultConnectionID(), [ 'host' => $db_host, 'user' => $db_user, 'password' => $db_pass, 'database' => $db_name, 'charset' => 'utf8mb4', 'debug' => DatabaseFactory::isDebug(DatabaseFactory::getDefaultConnectionID()) ]); DatabaseFactory::registerConfigurationFromFile(__DIR__.'/../config.db.php'); require_once DB_HANDLERS."all_functions_include.php"; require_once __DIR__."/system_images.php"; require_once __DIR__."/output_handling_include.php"; require_once __DIR__."/translate_include.php"; require_once __DIR__."/sqlhandler.inc.php"; require_once __DIR__."/defender.inc"; require_once __DIR__."/dynamics.inc";