diff options
author | Paweł Sroka <srokap@gmail.com> | 2013-03-30 19:16:41 +0100 |
---|---|---|
committer | Paweł Sroka <srokap@gmail.com> | 2013-03-30 19:16:41 +0100 |
commit | bb0a69ba571744697fd89ffbc97577a734b38d2f (patch) | |
tree | 1bde7b95eeeb7f794363eac63463acca8ed3ba9c /engine/lib | |
parent | e579d5b32ea0f12450520a6d45183018e0851757 (diff) | |
download | elgg-bb0a69ba571744697fd89ffbc97577a734b38d2f.tar.gz elgg-bb0a69ba571744697fd89ffbc97577a734b38d2f.tar.bz2 |
Fixes #5302 - Automatically registers view to simplecache on elgg_get_simplecache_url call
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/cache.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/cache.php b/engine/lib/cache.php index 59359124e..3116c1a9b 100644 --- a/engine/lib/cache.php +++ b/engine/lib/cache.php @@ -208,6 +208,7 @@ function elgg_get_simplecache_url($type, $view) { global $CONFIG; $lastcache = (int)$CONFIG->lastcache; $viewtype = elgg_get_viewtype(); + elgg_register_simplecache_view("$type/$view");// see #5302 if (elgg_is_simplecache_enabled()) { $url = elgg_get_site_url() . "cache/$type/$viewtype/$view.$lastcache.$type"; } else { |