aboutsummaryrefslogtreecommitdiffstats
path: root/lib/config.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-23 17:36:08 +0200
committerBart Visscher <bartv@thisnet.nl>2013-07-23 17:36:08 +0200
commit5caa7576d493ef6b639b59718701d67bf8db90cb (patch)
tree795db285e12f66e5837497ad9b60cb6e9cc5ec84 /lib/config.php
parent6ddad8dc4990e522630b020a8d06fdf939776f05 (diff)
downloadnextcloud-server-5caa7576d493ef6b639b59718701d67bf8db90cb.tar.gz
nextcloud-server-5caa7576d493ef6b639b59718701d67bf8db90cb.zip
Revert "fix failing master branch - Test_Config::testWriteData"
This reverts commit 8f93490ac45fbd74bd0e9697a685fd43bb34239b.
Diffstat (limited to 'lib/config.php')
-rw-r--r--lib/config.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/config.php b/lib/config.php
index a38ce19c74f..00d9f5b4247 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -144,11 +144,7 @@ class Config {
continue;
}
unset($CONFIG);
- if((@include $file) === false)
- {
- throw new HintException("Can't read from config file '" . $file . "'. ".
- 'This is usually caused by the wrong file permission.');
- }
+ include $file;
if (isset($CONFIG) && is_array($CONFIG)) {
$this->cache = array_merge($this->cache, $CONFIG);
}