Merge pull request #2213 from owncloud/fix_2208
remove remaining br-tags that do not belong here
This commit is contained in:
commit
4763c4616f
|
@ -211,7 +211,7 @@ class OC_Util {
|
||||||
."'chown -R www-data:www-data /path/to/your/owncloud/install/data' ");
|
."'chown -R www-data:www-data /path/to/your/owncloud/install/data' ");
|
||||||
}
|
}
|
||||||
} else if(!is_writable($CONFIG_DATADIRECTORY) or !is_readable($CONFIG_DATADIRECTORY)) {
|
} else if(!is_writable($CONFIG_DATADIRECTORY) or !is_readable($CONFIG_DATADIRECTORY)) {
|
||||||
$errors[]=array('error'=>'Data directory ('.$CONFIG_DATADIRECTORY.') not writable by ownCloud<br/>',
|
$errors[]=array('error'=>'Data directory ('.$CONFIG_DATADIRECTORY.') not writable by ownCloud',
|
||||||
'hint'=>$permissionsHint);
|
'hint'=>$permissionsHint);
|
||||||
} else {
|
} else {
|
||||||
$errors = array_merge($errors, self::checkDataDirectoryPermissions($CONFIG_DATADIRECTORY));
|
$errors = array_merge($errors, self::checkDataDirectoryPermissions($CONFIG_DATADIRECTORY));
|
||||||
|
@ -309,7 +309,7 @@ class OC_Util {
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
$prems = substr(decoct(@fileperms($dataDirectory)), -3);
|
$prems = substr(decoct(@fileperms($dataDirectory)), -3);
|
||||||
if (substr($prems, 2, 1) != '0') {
|
if (substr($prems, 2, 1) != '0') {
|
||||||
$errors[] = array('error' => 'Data directory ('.$dataDirectory.') is readable for other users<br/>',
|
$errors[] = array('error' => 'Data directory ('.$dataDirectory.') is readable for other users',
|
||||||
'hint' => $permissionsModHint);
|
'hint' => $permissionsModHint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue