2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Loads libraries/common.inc.php and preforms some additional actions
6 * @package PhpMyAdmin-Setup
10 * Do not include full common.
13 define('PMA_MINIMUM_COMMON', true);
14 define('PMA_SETUP', true);
17 if (!file_exists('./libraries/common.inc.php')) {
18 PMA_fatalError('Bad invocation!');
21 require_once './libraries/common.inc.php';
22 require_once './libraries/Util.class.php';
23 require_once './libraries/config/config_functions.lib.php';
24 require_once './libraries/config/messages.inc.php';
25 require_once './libraries/config/ConfigFile.class.php';
26 require_once './libraries/url_generating.lib.php';
27 require_once './libraries/user_preferences.lib.php';
29 // use default error handler
30 restore_error_handler();
32 // Save current language in a cookie, required since we use PMA_MINIMUM_COMMON
33 $GLOBALS['PMA_Config']->setCookie('pma_lang', $GLOBALS['lang']);
35 ConfigFile
::getInstance()->setPersistKeys(
45 'Servers/1/extension',
46 'Servers/1/connect_type',
47 'Servers/1/auth_type',
53 // allows for redirection even after sending some data