diff options
Diffstat (limited to 'yourmostviewed.php')
-rw-r--r-- | yourmostviewed.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yourmostviewed.php b/yourmostviewed.php index 193464c04..40d05c038 100644 --- a/yourmostviewed.php +++ b/yourmostviewed.php @@ -10,7 +10,8 @@ include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); $viewer = get_loggedin_user(); - $prefix = "my_elgg"; //how do you get the global default? + global $CONFIG; + $prefix = $CONFIG->dbprefix; $max = 24; //grab the top views (metadata 'tp_views') for $max number of entities //ignores entity subtypes |