'; $message = ''; if ($config['history_db_connection'] === false) { $message = __('Failure to connect to historical database, please check the configuration or contact system administrator if you need assistance.'); } else { $message = __('Failure to connect to Database server, please check the configuration file config.php or contact system administrator if you need assistance.'); } $custom_conf_enabled = false; foreach ($config as $key => $value) { if (preg_match('/._alt/i', $key)) { $custom_conf_enabled = true; break; } } if (empty($custom_conf_enabled) === true || isset($config['custom_docs_url_alt']) === true) { if (isset($config['custom_docs_url_alt']) === true) { $docs_url = $config['custom_docs_url_alt']; } else { $docs_url = 'https://pandorafms.com/manual/en/documentation/02_installation/04_configuration'; } } echo '