diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 15:33:47 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 15:33:47 +0000 |
commit | 9330baece53a1e0adb5e8ae08dfec4dfec7ca2de (patch) | |
tree | ef25f0d49764c40554f49478143940c21b376593 /_css | |
parent | b2537fa6483ee7f637e97beb6b2933a9d0c01841 (diff) | |
download | elgg-9330baece53a1e0adb5e8ae08dfec4dfec7ca2de.tar.gz elgg-9330baece53a1e0adb5e8ae08dfec4dfec7ca2de.tar.bz2 |
Views simplecache improvements.
git-svn-id: https://code.elgg.org/elgg/trunk@2766 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to '_css')
-rw-r--r-- | _css/css.php | 1 | ||||
-rw-r--r-- | _css/js.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/_css/css.php b/_css/css.php index df681bcb2..a6eebee20 100644 --- a/_css/css.php +++ b/_css/css.php @@ -28,6 +28,7 @@ global $viewinput;
$viewinput['view'] = 'css';
+ $viewinput['viewtype'] = $_GET['viewtype'];
header("Content-type: text/css", true);
header('Expires: ' . date('r',time() + 864000), true);
diff --git a/_css/js.php b/_css/js.php index 99c786e01..a90c87829 100644 --- a/_css/js.php +++ b/_css/js.php @@ -28,6 +28,7 @@ global $viewinput;
$viewinput['view'] = 'js/' . $_GET['js'];
+ $viewinput['viewtype'] = $_GET['viewtype'];
header('Content-type: text/javascript');
header('Expires: ' . date('r',time() + 864000));
|