Add files via upload
This commit is contained in:
committed by
GitHub
parent
4ac9cd811a
commit
97df13f3f0
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* PHP Dynamic Qr code
|
||||
*
|
||||
* @author Giandonato Inverso <info@giandonatoinverso.it>
|
||||
* @copyright Copyright (c) 2020-2021
|
||||
* @license https://opensource.org/licenses/MIT MIT License
|
||||
* @link https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
session_start();
|
||||
require_once 'includes/auth_validate.php';
|
||||
require_once './config/config.php';
|
||||
|
||||
// Dynamic qrcode class
|
||||
require_once BASE_PATH . '/lib/Static_Qrcode/Static_Qrcode.php';
|
||||
$static_qrcode = new Static_Qrcode();
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST')
|
||||
$static_qrcode->cancel($_POST['del_id'], $_POST['filename']);
|
||||
Reference in New Issue
Block a user