aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/diagnostics/start.php')
-rw-r--r--mod/diagnostics/start.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php
index 38cb6b167..e2592e263 100644
--- a/mod/diagnostics/start.php
+++ b/mod/diagnostics/start.php
@@ -61,7 +61,9 @@
{
global $CONFIG;
- include_once($CONFIG->path . "version.php");
+ // Get version information
+ $version = get_version();
+ $release = get_version(true);
$returnvalue .= sprintf(elgg_echo('diagnostics:report:basic'), $release, $version);