mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
This commit is contained in:
+4
-1
@@ -9,8 +9,11 @@
|
||||
$path='../';
|
||||
require ($path.'cis/config.inc.php');
|
||||
//setcookie('stylesheet', DEFAULT_STYLE);
|
||||
if (isset($_COOKIE['stylesheet']))
|
||||
//Name des Stylesheets darf nur buchstaben von A-Z enthalten (ohne umlaute)
|
||||
if (isset($_COOKIE['stylesheet']) && preg_match('/^[a-zA-Z]+$/', $_COOKIE['stylesheet']))
|
||||
{
|
||||
$stylesheet=$_COOKIE['stylesheet'];
|
||||
}
|
||||
else
|
||||
$stylesheet=DEFAULT_STYLE;
|
||||
//setcookie('stylesheet', DEFAULT_STYLE);
|
||||
|
||||
Reference in New Issue
Block a user