<?php
/**
 * Project Name: Protect WC External dl links
 * Version: 3.4.0
 * Author: Javad Ahshamian
 * Author URI: https://ham3da.ir/
 */
include_once 'config.php';
include_once 'functions.php';
include_once 'mime.php';

$md5 = filter_input(INPUT_GET, 'md5');
$expires = filter_input(INPUT_GET, 'expires');
$path = filter_input(INPUT_GET, 'path');

check_link_params($md5, $path, $expires);