CLEAN: use fullUrl when possible
authorJustin J. Novack <jnovack@gmail.com>
Tue, 18 Sep 2012 14:10:19 +0000 (10:10 -0400)
committerJustin J. Novack <jnovack@gmail.com>
Tue, 18 Sep 2012 14:10:19 +0000 (10:10 -0400)
www/secure.php

index e614087..9506614 100644 (file)
@@ -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 &&