mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
A brand new implementation, isBoxVersionOk()
This commit is contained in:
1 parent
c8e7668272
commit
237ee9ea9c
1 file changed
+10
-1
@@ -110,6 +110,15 @@ class Box_Requirements implements \Box\InjectionAwareInterface
|
||||
return version_compare($current, $required, '>=');
|
||||
}
|
||||
|
||||
public function isBoxVersionOk()
|
||||
{
|
||||
$current = Box_Version::VERSION;
|
||||
if ($current == "0.0.1") {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* What extensions must be loaded for BoxBilling o function correctly
|
||||
*/
|
||||
@@ -199,4 +208,4 @@ class Box_Requirements implements \Box\InjectionAwareInterface
|
||||
return ($configmod == $perm);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user