1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-22 07:06:40 +02:00
alltube/common.php

22 lines
629 B
PHP
Raw Normal View History

2015-01-07 10:42:44 +01:00
<?php
/**
* PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/)
* PHP file included on all pages
*
* PHP Version 5.3.10
*
* @category Youtube-dl
* @package Youtubedl
2015-01-07 10:47:46 +01:00
* @author Pierre Rudloff <contact@rudloff.pro>
2015-01-07 10:42:44 +01:00
* @author Olivier Haquette <contact@olivierhaquette.fr>
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro
* */
2015-08-30 01:40:31 +02:00
require_once __DIR__.'/vendor/autoload.php';
2015-04-11 22:08:24 +02:00
if (is_file('config.php')) {
include_once 'config.php';
} else {
include_once 'config.example.php';
}
define('FILENAME', basename($_SERVER["SCRIPT_FILENAME"]));