Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jappix/jappix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanaryon <Vanaryon@6385bf5c-453f-4a1d-ac06-b509b7c32dfb>2011-03-01 11:28:59 +0300
committerVanaryon <Vanaryon@6385bf5c-453f-4a1d-ac06-b509b7c32dfb>2011-03-01 11:28:59 +0300
commit7afc0034384735fdd04fced86a5a920057ba451a (patch)
tree909bb8202afc91c06c606033ebc9a9f1941e3761 /index.php
parentb1f1fb10ab5cdf4986589018ed8babd6f311f9d7 (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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 44ffd6ef..5776c590 100644
--- a/index.php
+++ b/index.php
@@ -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!