diff --git a/src/bb-library/Box/Requirements.php b/src/bb-library/Box/Requirements.php index e8c31c49a..3263f7a83 100644 --- a/src/bb-library/Box/Requirements.php +++ b/src/bb-library/Box/Requirements.php @@ -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); } -} \ No newline at end of file +}