aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-28 21:25:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-28 21:25:22 +0000
commita1b7808dea79b3a547aa805b86d829fa1f5f19db (patch)
treeea1c8b172058b9bb07ed2741539072ddeec26b5c /engine/lib
parentd892f121e1b9a34edfa49288a20b99d4d4b65f6b (diff)
downloadelgg-a1b7808dea79b3a547aa805b86d829fa1f5f19db.tar.gz
elgg-a1b7808dea79b3a547aa805b86d829fa1f5f19db.tar.bz2
Fixes #2160 #2678 introducing a more flexible simplecache handler (this requires an htaccess update)
git-svn-id: http://code.elgg.org/elgg/trunk@7464 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/views.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index bf133f592..6c4cec0f2 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1335,10 +1335,11 @@ function elgg_views_register_core_head_elements() {
$lastcache = $CONFIG->lastcache;
$viewtype = elgg_get_viewtype();
- $url = "{$base}_css/js.php?lastcache=$lastcache&js=initialise_elgg&viewtype=$viewtype";
+ //$url = "{$base}_css/js.php?lastcache=$lastcache&js=initialise_elgg&viewtype=$viewtype";
+ $url = "{$base}cache/js/initialise_elgg/$viewtype/initialise_elgg.$lastcache.js";
elgg_register_js($url, 'initialise_elgg');
- $url = "{$base}_css/css.css?lastcache=$lastcache&viewtype=$viewtype";
+ $url = "{$base}cache/css/elgg/$viewtype/elgg.$lastcache.css";
elgg_register_css($url, 'elgg');
}
@@ -1353,7 +1354,7 @@ function elgg_views_register_core_head_elements() {
function elgg_views_boot() {
global $CONFIG;
- elgg_view_register_simplecache('css');
+ elgg_view_register_simplecache('css/elgg');
elgg_view_register_simplecache('js/friendsPickerv1');
elgg_view_register_simplecache('js/initialise_elgg');