Initial import

This commit is contained in:
Admin Nasledstvo
2026-05-01 20:52:04 +03:00
commit ac168868ee
10028 changed files with 2337954 additions and 0 deletions
@@ -0,0 +1,15 @@
<?php
/* @var $this \yii\web\View */
/* @var string $file_name */
//echo $file_name;
//exit;
$file = $_SERVER['DOCUMENT_ROOT'].'/_docs/'.$file_name;
if(file_exists($file)) {
header('Content-type: application/pdf');
header('Content-Disposition: inline; filename="' . $file_name . '"');
header('Content-Transfer-Encoding: binary');
header('Accept-Ranges: bytes');
@readfile($file);
exit;
}
die('File does not exist');