diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-10 17:57:33 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-10 17:57:33 +0000 |
commit | 93964b3dcbd9b9e23ec4068b5a53b53c6639ccb3 (patch) | |
tree | ae4c62922905ad4fa2f5439d6eb0d83163b251a8 /_css | |
parent | 8074053b98a23418c21c35bdc061339abfe104a3 (diff) | |
download | elgg-93964b3dcbd9b9e23ec4068b5a53b53c6639ccb3.tar.gz elgg-93964b3dcbd9b9e23ec4068b5a53b53c6639ccb3.tar.bz2 |
Fixes #541: CSS Now not being cached. Error is being caused somewhere in the elgg framework which prevents pragma caching from working... not sure what
git-svn-id: https://code.elgg.org/elgg/trunk@2431 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to '_css')
-rw-r--r-- | _css/css.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/_css/css.php b/_css/css.php index 30b179d16..485ca8774 100644 --- a/_css/css.php +++ b/_css/css.php @@ -10,13 +10,13 @@ * @copyright Curverider Ltd 2008
* @link http://elgg.org/
*/
-
- header("Content-type: text/css");
- header('Expires: ' . date('r',time() + 864000));
- header("Pragma: public");
- header("Cache-Control: public");
- require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
+ require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); +
+ 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");
|