From 8a28d55936a909d9b1528e2cf43d6dde531e12f1 Mon Sep 17 00:00:00 2001 From: luis daniel lucio quiroz Date: Sun, 4 Jan 2015 02:34:22 +0000 Subject: [PATCH] new version function as an alias of software_version --- resources/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/functions.php b/resources/functions.php index fb39aa90c5..be4ddc726b 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -22,6 +22,7 @@ Contributor(s): Mark J Crane + Luis Daniel Lucio Quiroz */ if (!function_exists('software_version')) { @@ -30,6 +31,12 @@ } } + if (!function_exists('version')) { + function version() { + return software_version(); + } + } + if (!function_exists('check_float')) { function check_float($string) { $string = str_replace(",",".",$string);