This commit is contained in:
Andreas Österreicher
2011-03-28 15:26:20 +00:00
parent a88bbcd4fd
commit 92ff395ac4
9 changed files with 603 additions and 33 deletions
+4 -1
View File
@@ -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);