new version function as an alias of software_version

This commit is contained in:
luis daniel lucio quiroz 2015-01-04 02:34:22 +00:00
parent 3744bb9eb0
commit 8a28d55936
1 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,7 @@
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
*/
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);