Skip to content
Snippets Groups Projects
Commit ac188ec7 authored by Robin Appelman's avatar Robin Appelman
Browse files

properly check for write permissions to the config file

parent 3210fe25
No related branches found
No related tags found
No related merge requests found
......@@ -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(!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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment