From 91e9d451126b1165a564f5f211082dce3b0348d9 Mon Sep 17 00:00:00 2001 From: "Justin J. Novack" Date: Tue, 18 Sep 2012 10:10:19 -0400 Subject: [PATCH] CLEAN: use fullUrl when possible --- www/secure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/secure.php b/www/secure.php index e614087..9506614 100644 --- a/www/secure.php +++ b/www/secure.php @@ -6,7 +6,7 @@ namespace phorkie; require_once 'www-header.php'; $_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI']; if (!isset($_SESSION['identity'])) { - header("Location: /login"); + header("Location: " . Tools::fullUrl('/login')); exit; } if ($GLOBALS['phorkie']['auth']['secure'] > 0 && -- 2.30.2