From 1190f5efa0ab75e4dc6c1d3b9128a0defd65ff5e Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 6 Aug 2015 20:58:21 +0200 Subject: [PATCH] Redirect script --- redirect.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 redirect.php diff --git a/redirect.php b/redirect.php new file mode 100644 index 0000000..d75b4ee --- /dev/null +++ b/redirect.php @@ -0,0 +1,19 @@ + + * @license GNU General Public License http://www.gnu.org/licenses/gpl.html + * @link http://rudloff.pro + * */ +require_once 'common.php'; +require_once 'download.php'; +if (isset($_GET["url"])) { + $video = VideoDownload::getURL($_GET["url"]); + header('Location: '.$video['url']); +}