diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-20 12:14:09 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-20 12:14:09 -0800 |
commit | 0f794b6889d05508c86449dacdee3e05bd47d071 (patch) | |
tree | 46e085ffd3c57270f9d3904b1bc7c6d8ba099785 /lib/private/util.php | |
parent | 92d8db6f19971d2df3b229e8b12a35cac03607c3 (diff) | |
parent | 164915a3f8c420b4274ebf3841044f18ca7435a4 (diff) | |
download | nextcloud-server-0f794b6889d05508c86449dacdee3e05bd47d071.tar.gz nextcloud-server-0f794b6889d05508c86449dacdee3e05bd47d071.zip |
Merge pull request #6820 from owncloud/phpunit-test-config
Load a separate config (if present) when running unit tests
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-x | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index b8d2da8a072..72afa6f9478 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -312,7 +312,7 @@ class OC_Util { .'" target="_blank">giving the webserver write access to the root directory</a>.'; // Check if config folder is writable. - if(!is_writable(OC::$SERVERROOT."/config/") or !is_readable(OC::$SERVERROOT."/config/")) { + if(!is_writable(OC::$configDir) or !is_readable(OC::$configDir)) { $errors[] = array( 'error' => "Can't write into config directory", 'hint' => 'This can usually be fixed by ' |