mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
This commit is contained in:
+7
-2
@@ -1,9 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
setcookie('stylesheet', 'tw');
|
if (isset($_GET['path']))
|
||||||
|
$path=$_GET['path'];
|
||||||
|
else
|
||||||
|
$path='../';
|
||||||
|
require ($path.'cis/config.inc.php');
|
||||||
|
setcookie('stylesheet', DEFAULT_STYLE);
|
||||||
if (isset($_COOKIE['stylesheet']))
|
if (isset($_COOKIE['stylesheet']))
|
||||||
$stylesheet=$_COOKIE['stylesheet'];
|
$stylesheet=$_COOKIE['stylesheet'];
|
||||||
else
|
else
|
||||||
$stylesheet='tw';
|
$stylesheet=DEFAULT_STYLE;
|
||||||
header("Content-Type: text/css");
|
header("Content-Type: text/css");
|
||||||
readfile ('styles/'.$stylesheet.'.css');
|
readfile ('styles/'.$stylesheet.'.css');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user