Joywork/ajax/deleteInnerDoc.php

6 lines
208 B
PHP
Raw Permalink Normal View History

2026-05-22 20:21:54 +02:00
<?php
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
if (isset($_GET['doc_id']) && $_SESSION['id']) {
$get = clearInputData($_GET);
echo json_encode(Docs::deleteDocument($get['doc_id']));
}