diff options
Diffstat (limited to '_css/css.php')
-rw-r--r-- | _css/css.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/_css/css.php b/_css/css.php index 485ca8774..af8b10f36 100644 --- a/_css/css.php +++ b/_css/css.php @@ -12,14 +12,15 @@ */
require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); + + $default_css = elgg_view("css"); header("Content-type: text/css", true); header('Expires: ' . date('r',time() + 864000), true); header("Pragma: public", true); header("Cache-Control: public", true); -
- $default_css = elgg_view("css");
-
+ header("Content-Length: " . strlen($default_css));
+
echo $default_css;
?>
\ No newline at end of file |