|
Stud.IP
3.1 Revision 48552
|
Namespaces | |
| namespace | studip_core |
Variables | |
| $file_id = escapeshellcmd(basename(Request::get('file_id'))) | |
| $type = Request::int('type') | |
| $document = new StudipDocument($file_id) | |
| $object_id = $document->getValue('seminar_id') | |
| $no_access = true | |
| if($object_id &&in_array($type, array(0, 6, 7))) if($type==1) if($type==5) if(in_array($type, array(2, 3, 4))) if($no_access) switch($type) | $file_name = prepareFilename(basename(Request::get('file_name'))) |
| if(Request::int('zip')&&is_file($path_file)) | $content_type = get_mime_type($file_name) |
| if (Request::int('zip')&&is_file($path_file)) $content_type = get_mime_type($file_name) |
| $document = new StudipDocument($file_id) |
| $file_id = escapeshellcmd(basename(Request::get('file_id'))) |
| if ($object_id &&in_array($type, array(0, 6, 7))) if ($type==1) if ($type==5) if (in_array($type, array(2, 3, 4))) if ($no_access) switch ($type) $file_name = prepareFilename(basename(Request::get('file_name'))) |
| $no_access = true |
| $object_id = $document->getValue('seminar_id') |
| $type = Request::int('type') |