51 if(!$rbacsystem->checkAccess(
'write', SYSTEM_FOLDER_ID))
57 $upload_dir = $lm_set->get(
"cont_upload_dir");
59 if (is_dir($upload_dir) and is_readable($upload_dir))
77 if (!$upload_dir = self::_getUploadDirectory())
83 $handle = opendir($upload_dir);
85 while (
false !== (
$file = readdir($handle)))
87 $full_path = $upload_dir .
"/".
$file;
88 if (is_file($full_path) and is_readable($full_path))
111 return in_array($a_file,
$files);
133 $ilias->raiseError($lng->txt(
"upload_error_file_not_found"), $ilias->error_obj->MESSAGE);
148 $ilias->raiseError($lng->txt(
"file_is_infected").
"<br />".
150 $ilias->error_obj->MESSAGE);
165 return copy(
$file, $a_target);