50 if(!$rbacsystem->checkAccess(
'write', SYSTEM_FOLDER_ID))
56 $upload_dir =
$lm_set->get(
"cont_upload_dir");
58 if (is_dir($upload_dir) and is_readable($upload_dir))
76 if (!$upload_dir = self::_getUploadDirectory())
82 $handle = opendir($upload_dir);
84 while (
false !== (
$file = readdir($handle)))
86 $full_path = $upload_dir .
"/".
$file;
87 if (is_file($full_path) and is_readable($full_path))
110 return in_array($a_file, $files);
132 $ilias->raiseError($lng->txt(
"upload_error_file_not_found"), $ilias->error_obj->MESSAGE);
147 $ilias->raiseError($lng->txt(
"file_is_infected").
"<br />".
149 $ilias->error_obj->MESSAGE);
164 return copy(
$file, $a_target);