diff --git a/setup/inc/functions.inc.php b/setup/inc/functions.inc.php index 43269e8116..9256d5d79d 100644 --- a/setup/inc/functions.inc.php +++ b/setup/inc/functions.inc.php @@ -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;