- fixing improved update-procedure + beautification
This commit is contained in:
@@ -55,5 +55,5 @@ function versionInUpdate($current_version, $version_to_check)
|
||||
$current_version.= '-svn0';
|
||||
}
|
||||
|
||||
return version_compare($current_version, $version_to_check, '<=');
|
||||
return version_compare($current_version, $version_to_check, '<');
|
||||
}
|
||||
|
||||
@@ -33,6 +33,6 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version)
|
||||
$return .= 'This makes it possible to catch all non-existing subdomains with the main vhost but also have the ability to use subdomains for that domain.<br />';
|
||||
$return .= 'If you would like Froxlor to do so with your domains, the update script can set the correct values for existing domains for you. Note: future domains will have wildcard-entries enabled by default no matter how you decide here.<br /><br />';
|
||||
$return .= '<strong>Do you want to use wildcard-entries for existing domains?:</strong> ';
|
||||
$return .= makeyesno('update_domainwildcardentry', '1', '0', '1');
|
||||
$return .= makeyesno('update_domainwildcardentry', '1', '0', '1').'<br /><br />';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user