$lastmodified = $pathisstring ? time() : filemtime($path);
$filesize = $pathisstring ? strlen($path) : filesize($path);
+/* - MDL-13949
//Adobe Acrobat Reader XSS prevention
if ($mimetype=='application/pdf' or mimeinfo('type', $filename)=='application/pdf') {
//please note that it prevents opening of pdfs in browser when http referer disabled
$lifetime = 1; // >0 needed for byteserving
}
}
+*/
//IE compatibiltiy HACK!
if (ini_get('zlib.output_compression')) {