new version function as an alias of software_version
This commit is contained in:
parent
3744bb9eb0
commit
8a28d55936
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
|
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!function_exists('software_version')) {
|
if (!function_exists('software_version')) {
|
||||||
|
|
@ -30,6 +31,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!function_exists('version')) {
|
||||||
|
function version() {
|
||||||
|
return software_version();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!function_exists('check_float')) {
|
if (!function_exists('check_float')) {
|
||||||
function check_float($string) {
|
function check_float($string) {
|
||||||
$string = str_replace(",",".",$string);
|
$string = str_replace(",",".",$string);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue