diff options
author | Marc Delisle <marc@infomarc.info> | 2012-03-28 20:44:32 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2012-03-28 20:44:32 +0400 |
commit | ed5fd8c852926addff157d3c7c5e95c0586db350 (patch) | |
tree | 601bcf436b04bfe9b7f9c275f53f6d6313cf3c5b /show_config_errors.php | |
parent | 607cac114312e86ef618ca9529a1f20ca1dcf8a1 (diff) | |
parent | 957ef1cf7fc51577a0d993c76915bc30b0fa106d (diff) |
Merge branch 'QA_3_5'
Diffstat (limited to 'show_config_errors.php')
-rw-r--r-- | show_config_errors.php | 4 |
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; +} ?> |