Initial import
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
/* @var $this \yii\web\View */
|
||||
/* @var \app\models\RegisterObjectFiles $objectFile */
|
||||
|
||||
$filename = $objectFile->video_title ?? '3D Model';
|
||||
header('Content-Type: application/octet-stream');
|
||||
header('Content-Disposition: inline; filename="3d model"');
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
header('Accept-Ranges: bytes');
|
||||
@readfile($objectFile->file_url);
|
||||
exit;
|
||||
Reference in New Issue
Block a user