- fixing improved update-procedure + beautification

This commit is contained in:
Michael Kaufmann (d00p)
2010-04-14 08:22:25 +00:00
parent 4d5dcb82d6
commit f5a0727b8e
2 changed files with 2 additions and 2 deletions

View File

@@ -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, '<');
}

View File

@@ -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>&nbsp;';
$return .= makeyesno('update_domainwildcardentry', '1', '0', '1');
$return .= makeyesno('update_domainwildcardentry', '1', '0', '1').'<br /><br />';
}
}