summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-01-17 15:57:29 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-01-17 15:57:29 +0100
commit6e86b3458694f22748de977c702e3c7fe3435e30 (patch)
tree11cdbe07e30b3f6cb89c7ed0b3cee486c4ef26ef /lib/util.php
parent21794377260d483141f4bd5a9bb90b49ee83486b (diff)
parent91016e37d45a6ea05b0e9e3578dd8b0943798630 (diff)
downloadnextcloud-server-6e86b3458694f22748de977c702e3c7fe3435e30.tar.gz
nextcloud-server-6e86b3458694f22748de977c702e3c7fe3435e30.zip
Merge branch 'master' into calendar
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 009119b54a9..09513d32328 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -226,6 +226,10 @@ class OC_Util {
$errors[]=array('error'=>'PHP module ctype is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
}
+ 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");
+ }
+
return $errors;
}