summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-01-20 00:48:03 +0100
committerRobin Appelman <icewind@owncloud.com>2012-01-20 00:48:03 +0100
commit355262635838860f5f17b2cf20132adddd7af77e (patch)
tree44c5cf19a8778578c07d83b3f4fdb072cfb76335 /lib
parent11c848b2215ba00ea5db33690942e1d6df27ae1b (diff)
parent941f199caf99c75c322c0d4892b2e2a5d45f384d (diff)
downloadnextcloud-server-355262635838860f5f17b2cf20132adddd7af77e.tar.gz
nextcloud-server-355262635838860f5f17b2cf20132adddd7af77e.zip
Merge branch 'master' into filesystem
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 29f2cdd06d4..454f5d04457 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -226,7 +226,7 @@ class OC_Util {
$errors[]=array('error'=>'PHP module ctype is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
}
- if(!is_writeable(OC::$SERVERROOT."/config/config.php")){
+ if(file_exists(OC::$SERVERROOT."/config/config.php") and !is_writeable(OC::$SERVERROOT."/config/config.php")){
$errors[]=array('error'=>"Can't write into config directory 'config'",'hint'=>"You can usually fix this by giving the webserver use write access to the config directory in owncloud");
}