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:
authorMarc Delisle <marc@infomarc.info>2012-03-28 20:42:36 +0400
committerMarc Delisle <marc@infomarc.info>2012-03-28 20:42:36 +0400
commit6bbeed3e7eda8707fc89dd1babdef146d42c06e8 (patch)
tree7062b94a0eb3168999f8d6114e965c2e36d68f26 /show_config_errors.php
parentd2f91cd139ddf582cb0496927d155df1cc07d811 (diff)
parenta183e6310e5fad296df6397570a0d89cb1140bee (diff)
Merge branch 'QA_3_4' into MAINT_3_5_0
Diffstat (limited to 'show_config_errors.php')
-rw-r--r--show_config_errors.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/show_config_errors.php b/show_config_errors.php
index d3f9dbee71..d541c3ce2c 100644
--- a/show_config_errors.php
+++ b/show_config_errors.php
@@ -16,6 +16,8 @@ error_reporting(E_ALL);
/**
* Read config file.
*/
-require CONFIG_FILE;
+if (is_readable(CONFIG_FILE)) {
+ require CONFIG_FILE;
+}
?>