Config in a separate file (fixes #2 and fixes #3)

This commit is contained in:
Pierre Rudloff 2014-07-05 12:45:24 +02:00
parent c9990a2084
commit 8825ff2117
4 changed files with 40 additions and 17 deletions

View file

@ -1,6 +1,16 @@
<?php
$python="/usr/bin/python";
/**
* PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/)
* JSON API
*
* PHP Version 5.3.10
*
* @category Youtube-dl
* @package Youtubedl
* @author Pierre Rudloff <rudloff@strasweb.fr>
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro
* */
require_once 'download.php';
if (isset($_GET["url"])) {
header('Content-Type: application/json');