mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-04 21:59:27 +00:00
This commit is contained in:
+7
-2
@@ -1,9 +1,14 @@
|
||||
<?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']))
|
||||
$stylesheet=$_COOKIE['stylesheet'];
|
||||
else
|
||||
$stylesheet='tw';
|
||||
$stylesheet=DEFAULT_STYLE;
|
||||
header("Content-Type: text/css");
|
||||
readfile ('styles/'.$stylesheet.'.css');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user