aboutsummaryrefslogtreecommitdiff
path: root/yourmostrecent.php
diff options
context:
space:
mode:
Diffstat (limited to 'yourmostrecent.php')
-rw-r--r--yourmostrecent.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/yourmostrecent.php b/yourmostrecent.php
index 68c83cd7e..69b4b93e9 100644
--- a/yourmostrecent.php
+++ b/yourmostrecent.php
@@ -6,8 +6,9 @@
include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+ global $CONFIG;
$viewer = get_loggedin_user();
- $prefix = "my_elgg"; //how do you get the global default?
+ $prefix = $CONFIG->dbprefix;
$max = 24;
//grab the top views (metadata 'tp_views') for $max number of entities
//ignores entity subtypes