diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-17 14:40:48 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-17 14:40:48 +0100 |
commit | 6b4c3df0876a4786bbde406349746600c87e1e6b (patch) | |
tree | 2c1b02a38d7b2648d9d30e7d6aa66fbcc6b01574 /lib/private/util.php | |
parent | 16033c81235e76af2900fdc8fd9340546301d45c (diff) | |
download | nextcloud-server-6b4c3df0876a4786bbde406349746600c87e1e6b.tar.gz nextcloud-server-6b4c3df0876a4786bbde406349746600c87e1e6b.zip |
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 a4b3761dbd3..be8b5439543 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 ' |