mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 01:42:17 +00:00
This commit is contained in:
+4
-1
@@ -33,7 +33,10 @@ if(!is_numeric($id))
|
||||
$doc = new dms();
|
||||
if(!$doc->load($id))
|
||||
die('Dieses Dokument existiert nicht mehr');
|
||||
|
||||
|
||||
if(!isset($_GET['notimeupdate']))
|
||||
$doc->touch($doc->dms_id, $doc->version);
|
||||
|
||||
if($handle = fopen(DMS_PATH.$doc->filename,"r"))
|
||||
{
|
||||
header("Content-type: ".$doc->mimetype);
|
||||
|
||||
Reference in New Issue
Block a user