aboutsummaryrefslogtreecommitdiff
path: root/_css/css.php
blob: 6d240351c809348142afb39ecc1c4fbd80f4912b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
 * Elgg CSS file
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

global $viewinput, $override;

$viewinput['view'] = 'css';
$viewinput['viewtype'] = $_GET['viewtype'];

header("Content-type: text/css", true);
header('Expires: ' . date('r',time() + 86400000), true);
header("Pragma: public", true);
header("Cache-Control: public", true);

require_once(dirname(dirname(__FILE__)) . '/simplecache/view.php');