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:44:32 +0400
committerMarc Delisle <marc@infomarc.info>2012-03-28 20:44:32 +0400
commited5fd8c852926addff157d3c7c5e95c0586db350 (patch)
tree601bcf436b04bfe9b7f9c275f53f6d6313cf3c5b /show_config_errors.php
parent607cac114312e86ef618ca9529a1f20ca1dcf8a1 (diff)
parent957ef1cf7fc51577a0d993c76915bc30b0fa106d (diff)
Merge branch 'QA_3_5'
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 f130416265..7fed434b8e 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;
+}
?>