auto-check for updates hourly

This commit is contained in:
Andrew Dolgov 2007-08-20 14:18:52 +01:00
parent 36e05046e0
commit c04206e555
1 changed files with 1 additions and 1 deletions

View File

@ -2446,7 +2446,7 @@
if (CHECK_FOR_NEW_VERSION && $_SESSION["access_level"] >= 10) { if (CHECK_FOR_NEW_VERSION && $_SESSION["access_level"] >= 10) {
if ($_SESSION["last_version_check"] + 600 < time()) { if ($_SESSION["last_version_check"] + 7200 < time()) {
$new_version_details = check_for_update($link); $new_version_details = check_for_update($link);
print "<param key=\"new_version_available\" value=\"". print "<param key=\"new_version_available\" value=\"".