Maintenance mode

This commit is contained in:
Pierre Rudloff 2014-05-15 20:31:44 +02:00
parent c9990a2084
commit 738f29a835
2 changed files with 41 additions and 0 deletions

View File

@ -1 +1,4 @@
AddType application/x-web-app-manifest+json .webapp
RewriteEngine On
RewriteCond %{REQUEST_URI} !=/maintenance.php
RewriteRule ^(.*)\.php$ /maintenance.php [R=301]

38
maintenance.php Normal file
View File

@ -0,0 +1,38 @@
<?php
/**
* PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/)
* Index page
*
* 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
* */
require 'head.php';
?>
<body>
<?php
require 'header.php';
?>
<div class="wrapper">
<div class="main">
<h1><img itemprop="image" class="logo" src="img/logo.png"
alt="AllTube Download" width="328" height="284"></h1>
<div>Due to some issues with our server, we have to disable AllTube for a few days. Sorry for the inconvenience.</div>
</div>
</div>
<?php
require 'footer.php';
?>
</body>
</html>