mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
creating of eg. the files-dir was only tried if the parent dir was writable, which failed if it does not yet exist
This commit is contained in:
parent
5fb740f401
commit
6b327c6c4f
@ -64,7 +64,7 @@
|
||||
*/
|
||||
function check_dir($dir,&$msg,$check_in_docroot=false)
|
||||
{
|
||||
if (!@is_dir($dir) && !(@is_writeable(dirname($dir)) && @mkdir($dir,0700,true)))
|
||||
if (!@is_dir($dir) && !@mkdir($dir,0700,true))
|
||||
{
|
||||
$msg = lang('does not exist');
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user