diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 18:07:38 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 18:07:38 +0000 |
commit | f8768d5dd98a9d42e9ad20f1c9a6d30678cd0e24 (patch) | |
tree | c2d8c6a2ad1d0cb2ae812dd423924ec0866a6a5a | |
parent | 0a17292060a339ef58f6b0cf05b47de424c00db5 (diff) | |
download | elgg-f8768d5dd98a9d42e9ad20f1c9a6d30678cd0e24.tar.gz elgg-f8768d5dd98a9d42e9ad20f1c9a6d30678cd0e24.tar.bz2 |
Icon default views are now registered as cached
git-svn-id: https://code.elgg.org/elgg/trunk@2771 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/profile/start.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php index 111f3ea8c..4ab9152f4 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -26,6 +26,13 @@ // Metadata on users needs to be independent
register_metadata_as_independent('user');
+ elgg_view_register_simplecache('icon/user/default/tiny');
+ elgg_view_register_simplecache('icon/user/default/topbar');
+ elgg_view_register_simplecache('icon/user/default/small');
+ elgg_view_register_simplecache('icon/user/default/medium');
+ elgg_view_register_simplecache('icon/user/default/large');
+ elgg_view_register_simplecache('icon/user/default/master');
+
// For now, we'll hard code the profile items as follows:
// TODO make this user configurable |