aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin')
-rw-r--r--views/default/admin/statistics_opt/basic.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/default/admin/statistics_opt/basic.php b/views/default/admin/statistics_opt/basic.php
index 1ea3578b5..f36bebdd2 100644
--- a/views/default/admin/statistics_opt/basic.php
+++ b/views/default/admin/statistics_opt/basic.php
@@ -17,7 +17,10 @@
global $CONFIG;
- include_once($CONFIG->path . "version.php");
+ // Get version information
+ $version = get_version();
+ $release = get_version(true);
+
?>
<div class="admin_statistics">
<h3><?php echo elgg_echo('admin:statistics:label:basic'); ?></h3>