mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Fehlerhafte HTTP Header korrigiert damit FAS mit Apache 2.4.10-10+deb8u8 funktioniert
This commit is contained in:
+5
-6
@@ -1,16 +1,15 @@
|
||||
<?php
|
||||
header("Cache-Control: no-cache");
|
||||
header("Cache-Control: post-check=0, pre-check=0",false);
|
||||
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Pragma: no-cache");
|
||||
if (isset($_GET['path']))
|
||||
$path=$_GET['path'];
|
||||
else
|
||||
$path='../';
|
||||
require ($path.'config/cis.config.inc.php');
|
||||
|
||||
|
||||
//die($_SERVER["HTTP_USER_AGENT"]);
|
||||
|
||||
|
||||
//setcookie('stylesheet', DEFAULT_STYLE);
|
||||
//Name des Stylesheets darf nur buchstaben von A-Z enthalten (ohne umlaute)
|
||||
if (isset($_COOKIE['stylesheet']) && preg_match('/^[a-zA-Z]+$/', $_COOKIE['stylesheet']))
|
||||
@@ -25,7 +24,7 @@
|
||||
$stylesheet="mobile";
|
||||
else
|
||||
$stylesheet=DEFAULT_STYLE;
|
||||
}
|
||||
}
|
||||
//$stylesheet="mobile";
|
||||
//setcookie('stylesheet', DEFAULT_STYLE);
|
||||
header("Content-Type: text/css");
|
||||
@@ -33,8 +32,8 @@
|
||||
readfile ($path.'skin/styles/'.$stylesheet.'.css');
|
||||
#--------------------------------------------------------------------------------------------------
|
||||
# $const=@get_defined_constants();
|
||||
# @reset($const);
|
||||
# print_r($const);
|
||||
# @reset($const);
|
||||
# print_r($const);
|
||||
function jahresplan_check_mobile() {
|
||||
$agents = array(
|
||||
'Windows CE', 'Pocket', 'Mobile',
|
||||
|
||||
Reference in New Issue
Block a user