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']); +}