add default-ssl-ip setting
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* @package Install
|
||||
*
|
||||
*/
|
||||
if (!defined('_CRON_UPDATE')) {
|
||||
if (! defined('_CRON_UPDATE')) {
|
||||
if (! defined('AREA') || (defined('AREA') && AREA != 'admin') || ! isset($userinfo['loginname']) || (isset($userinfo['loginname']) && $userinfo['loginname'] == '')) {
|
||||
header('Location: ../../../../index.php');
|
||||
exit();
|
||||
@@ -26,3 +26,12 @@ if (isFroxlorVersion('0.9.39.5')) {
|
||||
showUpdateStep("Updating from 0.9.39.5 to 0.10.0", false);
|
||||
updateToVersion('0.10.0');
|
||||
}
|
||||
|
||||
if (isDatabaseVersion('201802150')) {
|
||||
|
||||
showUpdateStep("Adding new default-ssl-ip setting");
|
||||
Settings::AddNew('system.defaultsslip', '');
|
||||
lastStepStatus(0);
|
||||
|
||||
updateToDbVersion('201802210');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user