Stud.IP
2.0 Revision 48548
|
Namespaces | |
namespace | studip_core |
Variables | |
$db = DBManager::get() | |
$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))) if($type==1) if($type==5) if($type==7) if(in_array($type, array(2, 3, 4))) if($no_access) switch($type) | $file_name = prepareFilename(basename(Request::get('file_name'))) |
$db = DBManager::get() |
$document = new StudipDocument($file_id) |
$file_id = escapeshellcmd(basename(Request::get('file_id'))) |
if ($object_id &&in_array($type, array(0, 6))) if ($type==1) if ($type==5) if ($type==7) 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') |