|
Stud.IP
3.4 Revision
|
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('force_download')|| $content_type=="application/octet-stream") | else |
| $start = $end = null | |
| 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') |
| $start = $end = null |
| $type = Request::int('type') |