From 13d322858b3c42629f51681f063bee700ca3b25b Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 24 Sep 2008 21:02:16 +0000 Subject: 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 --- mod/diagnostics/start.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/diagnostics/start.php') 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); -- cgit v1.2.3