From: Justin J. Novack Date: Tue, 18 Sep 2012 14:10:19 +0000 (-0400) Subject: CLEAN: use fullUrl when possible X-Git-Tag: v0.3.0~42^2~8 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/91e9d451126b1165a564f5f211082dce3b0348d9?hp=ffa9d514d3a14c76170e26047f09009b4a6de07c CLEAN: use fullUrl when possible --- 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 &&