/ Grab phpMyAdmin version and PMA_dl function define( 'PMA_MINIMUM_COMMON', TRUE ); chdir('..'); require_once('./libraries/common.lib.php'); // Grab configuration defaults $PMA_Config = new PMA_Config(); // Script information $script_info = 'phpMyAdmin ' . $PMA_Config->get('PMA_VERSION') . ' setup script by Michal Ä?ihaÅ? '; $script_version = '$Id: setup.php,v 1.23.2.2.2.1 2006/03/08 19:06:48 nijel Exp $'; // Grab action if (isset($_POST['action'])) { $action = $_POST['action']; } else { $action = ''; } if (isset($_POST['configuration']) && $action != 'clear' ) { // Grab previous configuration, if it should not be cleared $configuration = unserialize($_POST['configuration']); } else { // Start with empty configuration $configuration = array(); } // We rely on Servers array to exist, so create it here if (!isset($configuration['Servers']) || !is_array($configuration['Servers'])) { $configuration['Servers'] = array(); } // Used later $now
osv