From 44870defdcddbfceede437950fd9e3342f84ebf0 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Tue, 28 Oct 2014 23:47:28 +0100 Subject: Added experimental CDN support. --- functions.php | 64 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 17c2ce3..25c22b8 100644 --- a/functions.php +++ b/functions.php @@ -9,7 +9,7 @@ function lredirect($goto){ function redirect($goto){ header($_SERVER["SERVER_PROTOCOL"] . " 302 Moved"); - header("Location: /?page=".$goto); + header("Location: ".DOMAIN."?page=".$goto); ob_clean(); exit; } @@ -49,7 +49,7 @@ if( isset($_GET["goto"]) && $_GET["goto"] != "" ) { redirect("index"); } ?> -