From eeb506bdf745c8c4fa2299df49e1fc9c53bf5c28 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 11 Apr 2015 00:00:00 +0200 Subject: [PATCH] Base URL in config file --- config.example.php | 1 + footer.php | 3 +-- header.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.example.php b/config.example.php index afdc8f5..5844fa4 100644 --- a/config.example.php +++ b/config.example.php @@ -17,4 +17,5 @@ define('PARAMS', '--no-playlist --no-warnings'); define('CONVERT', false); define('MAINTENANCE', false); define('DISABLED', false); +define('BASE_URL', 'http://alltubedownload.net/'); ?> diff --git a/footer.php b/footer.php index 59734d1..554dc6c 100644 --- a/footer.php +++ b/footer.php @@ -11,7 +11,6 @@ * @license GNU General Public License http://www.gnu.org/licenses/gpl.html * @link http://rudloff.pro * */ -$baseURL = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['REQUEST_URI']); ?> diff --git a/header.php b/header.php index 3d59979..7f991fc 100644 --- a/header.php +++ b/header.php @@ -16,11 +16,11 @@