Update functions.php
This commit is contained in:
parent
96c77dd678
commit
9b5f5bc10d
|
|
@ -25,26 +25,6 @@
|
||||||
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!function_exists('software_version')) {
|
|
||||||
function software_version() {
|
|
||||||
return '4.5.10';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!function_exists('version')) {
|
|
||||||
function version() {
|
|
||||||
return software_version();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!function_exists('numeric_version')) {
|
|
||||||
function numeric_version() {
|
|
||||||
$v = explode('.', software_version());
|
|
||||||
$n = ($v[0] * 10000 + $v[1] * 100 + $v[2]);
|
|
||||||
return $n;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!function_exists('mb_strtoupper')) {
|
if (!function_exists('mb_strtoupper')) {
|
||||||
function mb_strtoupper($string) {
|
function mb_strtoupper($string) {
|
||||||
return strtoupper($string);
|
return strtoupper($string);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue