Autoload in redirect too

This commit is contained in:
Pierre Rudloff 2015-10-29 23:35:33 +01:00
parent c79cd21d74
commit 29fbf2ac06

View file

@ -11,8 +11,8 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html * @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro * @link http://rudloff.pro
* */ * */
use Alltube\VideoDownload;
require_once 'common.php'; require_once 'common.php';
require_once 'download.php';
if (isset($_GET["url"])) { if (isset($_GET["url"])) {
try { try {
$video = VideoDownload::getURL($_GET["url"]); $video = VideoDownload::getURL($_GET["url"]);