sortedLanguages(); /** @var ConfigFile $cf */ $cf = $GLOBALS['ConfigFile']; // message handling SetupIndex::messagesBegin(); // // Check phpMyAdmin version // if (isset($_GET['version_check'])) { SetupIndex::versionCheck(); } // // Perform various security, compatibility and consistency checks // $configChecker = new ServerConfigChecks($GLOBALS['ConfigFile']); $configChecker->performConfigChecks(); // // Https connection warning (check done on the client side) // $text = __( 'You are not using a secure connection; all data (including potentially ' . 'sensitive information, like passwords) is transferred unencrypted!' ); $text .= ' '; $text .= __( 'If your server is also configured to accept HTTPS requests ' . 'follow this link to use a secure connection.' ); $text .= ''; SetupIndex::messagesSet('notice', 'no_https', __('Insecure connection'), $text); echo '
'; // Check for done action info and set notice message if present switch ($action_done) { case 'config_saved': /* Use uniqid to display this message every time configuration is saved */ SetupIndex::messagesSet( 'notice', uniqid('config_saved'), __('Configuration saved.'), Sanitize::sanitize( __( 'Configuration saved to file config/config.inc.php in phpMyAdmin ' . 'top level directory, copy it to top level one and delete ' . 'directory config to use it.' ) ) ); break; case 'config_not_saved': /* Use uniqid to display this message every time configuration is saved */ SetupIndex::messagesSet( 'notice', uniqid('config_not_saved'), __('Configuration not saved!'), Sanitize::sanitize( __( 'Please create web server writable folder [em]config[/em] in ' . 'phpMyAdmin top level directory as described in ' . '[doc@setup_script]documentation[/doc]. Otherwise you will be ' . 'only able to download or display it.' ) ) ); break; default: break; } echo '