auto-check for updates hourly
This commit is contained in:
parent
36e05046e0
commit
c04206e555
|
@ -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=\"".
|
||||||
|
|
Loading…
Reference in New Issue