Joywork/engine/classes/WebAppRaiser/getfile.php

15 lines
407 B
PHP
Raw Permalink Normal View History

2026-05-22 20:21:54 +02:00
<?php
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
if(!$_SESSION['id']) {
header("location:index.php");
die("Доступ запрещён!");
}
$user = new User($_SESSION["id"]);
require_once($_SERVER["DOCUMENT_ROOT"]."/engine/classes/WebAppRaiser/autoload.php");
//$WebAppRaiserAPI = new WebAppRaiserAPI($user);
$get=clearInputData($_GET);
WebAppRaiserDocs::getDocument($get['fid']);