setting version to 0.9.28 (preparation for release)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -534,7 +534,7 @@ INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES
|
||||
('panel', 'password_regex', ''),
|
||||
('panel', 'use_webfonts', '0'),
|
||||
('panel', 'webfont', 'Numans'),
|
||||
('panel', 'version', '0.9.28-rc1');
|
||||
('panel', 'version', '0.9.28');
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2026,13 +2026,23 @@ if (isFroxlorVersion('0.9.28-svn6')) {
|
||||
}
|
||||
|
||||
if (isFroxlorVersion('0.9.28-rc1')) {
|
||||
showUpdateStep("Updating from 0.9.28-rc1 to 0.9.28-rc2", true);
|
||||
lastStepStatus(0);
|
||||
|
||||
$update_system_documentroot_use_default_value = isset($_POST['update_system_documentroot_use_default_value']) ? (int)$_POST['update_system_documentroot_use_default_value'] : '0';
|
||||
showUpdateStep("Adding new settings for using domain name as default value for DocumentRoot path", true);
|
||||
$db->query("INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'documentroot_use_default_value', '".$update_system_documentroot_use_default_value."');");
|
||||
lastStepStatus(0);
|
||||
|
||||
showUpdateStep("Updating from 0.9.28-rc1 to 0.9.28-rc2", true);
|
||||
updateToVersion('0.9.28-rc2');
|
||||
}
|
||||
|
||||
if (isFroxlorVersion('0.9.28-rc2')) {
|
||||
showUpdateStep("Updating from 0.9.28-rc2 to 0.9.28 final", true);
|
||||
$db->query("DELETE FROM `panel_settings` WHERE `settinggroup`='system' AND `varname`='mod_log_sql'");
|
||||
$db->query("DELETE FROM `panel_settings` WHERE `settinggroup`='system' AND `varname`='openssl_cnf'");
|
||||
$db->query("ALTER `panel_domains` DROP `safemode`");
|
||||
lastStepStatus(0);
|
||||
|
||||
updateToVersion('0.9.28-rc2');
|
||||
}
|
||||
updateToVersion('0.9.28');
|
||||
}
|
||||
|
||||
@@ -484,4 +484,23 @@ LoadModule authz_host_module modules/mod_authz_host.so</pre><br />';
|
||||
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
|
||||
}
|
||||
|
||||
if (versionInUpdate($current_version, '0.9.28')) {
|
||||
|
||||
$has_preconfig = true;
|
||||
// just an information about the new sendmail parameter (#1134)
|
||||
$description = 'Froxlor changed the default parameter-set of sendmail (php.ini)<br />';
|
||||
$description .= 'sendmail_path = "/usr/sbin/sendmail -t <strong>-i</strong> -f {CUSTOMER_EMAIL}"<br /><br />';
|
||||
$description .= 'If you don\'t have any problems with sending mails, you don\'t need to change this';
|
||||
if ($this->_settings['system']['mod_fcgid'] == '1'
|
||||
|| $this->_settings['phpfpm']['enabled'] == '1'
|
||||
) {
|
||||
// information about removal of php's safe_mode
|
||||
$description .= '<br /><br />The php safe_mode flag has been removed as current versions of PHP<br />';
|
||||
$description .= 'do not support it anymore.<br /><br />';
|
||||
$description .= 'Please check your php-configurations and remove safe_mode-directives to avoid php notices/warnings.';
|
||||
}
|
||||
$question = '';
|
||||
|
||||
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,6 +73,6 @@ define('PACKAGE_ENABLED', 2);
|
||||
|
||||
// VERSION INFO
|
||||
|
||||
$version = '0.9.28-rc2';
|
||||
$version = '0.9.28';
|
||||
$dbversion = '2';
|
||||
$branding = '';
|
||||
|
||||
Reference in New Issue
Block a user