show_config_errors.php 574 Bytes
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Simple wrapper just to enable error reporting and include config
 *
 * @package PhpMyAdmin
 */

// we need the common loader for the PMA_no_cache_header function
define('PMA_MINIMUM_COMMON', 1);
require './libraries/common.inc.php';

$GLOBALS['now'] = gmdate('D, d M Y H:i:s') . ' GMT';
PMA_no_cache_header();
header('Content-Type: text/html; charset=utf-8');

require './libraries/vendor_config.php';

error_reporting(E_ALL);
/**
 * Read config file.
 */
if (is_readable(CONFIG_FILE)) {
    require CONFIG_FILE;
}

?>