Blame view

pma/show_config_errors.php 574 Bytes
a1684257   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?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;
  }
  
  ?>