Rev 4 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | require 'includes/main.inc.php'; |
||
4 | |||
5 | $content = ''; |
||
6 | |||
7 | if (!file_exists('design/'.$konfiguration['admin_design']['design'].'/style.css')) |
||
8 | die(''); |
||
9 | |||
10 | $handle = @fopen('design/'.$konfiguration['admin_design']['design'].'/style.css', 'r'); |
||
11 | while (!@feof($handle)) |
||
12 | { |
||
13 | $buffer = @fgets($handle, 4096); |
||
14 | $content .= $buffer; |
||
15 | } |
||
16 | @fclose ($handle); |
||
17 | |||
18 | $content = str_replace('###', 'design/'.$konfiguration['admin_design']['design'].'/', $content); |
||
19 | |||
20 | echo $content; |
||
21 | |||
22 | ?> |