Redirect with PHP instead of .htaccess
This commit is contained in:
parent
39f81c3674
commit
816b556c65
7 changed files with 32 additions and 7 deletions
18
common.php
Normal file
18
common.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?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
|
||||
* @author Pierre Rudloff <rudloff@strasweb.fr>
|
||||
* @author Olivier Haquette <contact@olivierhaquette.fr>
|
||||
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
|
||||
* @link http://rudloff.pro
|
||||
* */
|
||||
if (MAINTENANCE) {
|
||||
header('Location: maintenance.php'); exit;
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue