aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-24 21:02:16 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-24 21:02:16 +0000
commit13d322858b3c42629f51681f063bee700ca3b25b (patch)
tree4a0524e82efaf2f3b02aceb9542198357c8bef8e /views/default
parent1254960ec68eacbec7a7155a9c4addd5685d8586 (diff)
downloadelgg-13d322858b3c42629f51681f063bee700ca3b25b.tar.gz
elgg-13d322858b3c42629f51681f063bee700ca3b25b.tar.bz2
Closes 374: Using get_version function instead of including the version file.
git-svn-id: https://code.elgg.org/elgg/trunk@2123 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-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>