Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2006-03-17 01:15:07 +0300
committerMichal Čihař <michal@cihar.com>2006-03-17 01:15:07 +0300
commit7b48016c66a422fe39c509728840327fb11f6502 (patch)
tree8ebd71e2fb549a2096d7cef62972b2acd5a2e746 /show_config_errors.php
parent2741f16ecb51d61b208689c2d7b39b5275faf542 (diff)
Add wrapper to show config errors even with no error reporting (RFE #1447173).
Diffstat (limited to 'show_config_errors.php')
-rw-r--r--show_config_errors.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/show_config_errors.php b/show_config_errors.php
new file mode 100644
index 0000000000..4e18ad57a6
--- /dev/null
+++ b/show_config_errors.php
@@ -0,0 +1,12 @@
+<?php
+/* $Id$ */
+// vim: expandtab sw=4 ts=4 sts=4:
+
+/* Simple wrapper just to enable error reporting and include config */
+
+echo "Starting to parse config file...\n";
+
+error_reporting(E_ALL);
+require('./config.inc.php');
+
+?>