Version check for system

This commit is contained in:
Yağızhan authored and GitHub committed 2020-11-21 12:13:00 +03:00
1 parent 229352d31a
commit cc38844f2e
1 file changed
+5 -1
+5 -1
View File
@@ -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;
}
}
}