summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-01-16 20:17:45 +0100
committerRobin Appelman <icewind@owncloud.com>2012-01-16 20:17:45 +0100
commit941f199caf99c75c322c0d4892b2e2a5d45f384d (patch)
treeb8d58c3e305d0f8d061c295dde9ac6716e6d4a8a /lib/util.php
parent965ea964392cff4d48c5e5896f5c3eb7be00fbee (diff)
downloadnextcloud-server-941f199caf99c75c322c0d4892b2e2a5d45f384d.tar.gz
nextcloud-server-941f199caf99c75c322c0d4892b2e2a5d45f384d.zip
dont complain about non existing config files
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 20197d65b00..09513d32328 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");
}