Update software.php
This commit is contained in:
parent
243ae25e1f
commit
f6bb5a7594
|
|
@ -11,14 +11,14 @@ if (!class_exists('software')) {
|
|||
/**
|
||||
* version
|
||||
*/
|
||||
public function version() {
|
||||
public static function version() {
|
||||
return '4.5.10';
|
||||
}
|
||||
|
||||
/**
|
||||
* numeric_version
|
||||
*/
|
||||
public function numeric_version() {
|
||||
public static function numeric_version() {
|
||||
$v = explode('.', $this->version());
|
||||
$n = ($v[0] * 10000 + $v[1] * 100 + $v[2]);
|
||||
return $n;
|
||||
|
|
|
|||
Loading…
Reference in New Issue