This commit is contained in:
Christian Paminger
2007-07-04 12:39:44 +00:00
parent e390a174f7
commit 0ef2a9e22c
+7 -2
View File
@@ -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');
?>