mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
Version check for system
This commit is contained in:
1 parent
229352d31a
commit
cc38844f2e
1 file changed
+5
-1
@@ -241,6 +241,10 @@ class Service
|
||||
$msgs['info'][] = sprintf('Install module "%s" still exists. Please remove it for security reasons.', $install);
|
||||
}
|
||||
|
||||
if($this->getVersion() == "0.0.1") {
|
||||
$msgs['info'][] = 'BoxBilling couldn\'t find valid version information. This is okay if you\'ve brought a copy of BoxBilling directly from the master branch, and not from releases. But beware, master branch may not be stable enough to be used for production use.';
|
||||
}
|
||||
|
||||
if(!extension_loaded('openssl')) {
|
||||
$msgs['info'][] = sprintf('BoxBilling requires %s extension to be enabled on this server for security reasons.', 'php openssl');
|
||||
}
|
||||
@@ -1562,4 +1566,4 @@ class Service
|
||||
$this->di['session']->delete('pending_messages');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user