diff options
author | Vanaryon <Vanaryon@6385bf5c-453f-4a1d-ac06-b509b7c32dfb> | 2011-03-01 11:28:59 +0300 |
---|---|---|
committer | Vanaryon <Vanaryon@6385bf5c-453f-4a1d-ac06-b509b7c32dfb> | 2011-03-01 11:28:59 +0300 |
commit | 7afc0034384735fdd04fced86a5a920057ba451a (patch) | |
tree | 909bb8202afc91c06c606033ebc9a9f1941e3761 /index.php | |
parent | b1f1fb10ab5cdf4986589018ed8babd6f311f9d7 (diff) |
Updated HTTP headers to HTTP/1.1
git-svn-id: http://svn.codingteam.net/jappix/trunk@925 6385bf5c-453f-4a1d-ac06-b509b7c32dfb
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ This is the Jappix PHP application launcher License: AGPL Author: Valérian Saliou -Last revision: 28/02/11 +Last revision: 01/03/11 */ @@ -88,7 +88,7 @@ if(($include_app == 'desktop') || ($include_app == 'mobile')) { // Redirects the user to HTTPS if forced if(!useHttps() && httpsForce()) { // Apply some special headers - header('Status: 301 Moved Permanently', false, 301); + header('Status: 301 Moved Permanently', true, 301); header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); // Kill the script! |