diff options
Diffstat (limited to 'pages/lists/recentlyviewed.php')
-rw-r--r-- | pages/lists/recentlyviewed.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pages/lists/recentlyviewed.php b/pages/lists/recentlyviewed.php index 1fa1be0ea..b61107fc4 100644 --- a/pages/lists/recentlyviewed.php +++ b/pages/lists/recentlyviewed.php @@ -1,14 +1,18 @@ <?php /** - * Tidypics full view of an image - * Given a GUID, this page will try and display any entity + * Most recently viewed images - world view only right now * */ // Load Elgg engine include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php"; + // world view - set page owner to logged in user + if (isloggedin()) { + set_page_owner(get_loggedin_userid()); + } + global $CONFIG; $prefix = $CONFIG->dbprefix; $max_limit = 200; //get extra because you'll have multiple views per image in the result set |