diff --git a/version_check.php b/version_check.php index d893b9daaf..f44ba7beb5 100644 --- a/version_check.php +++ b/version_check.php @@ -1,16 +1,47 @@ version) && strlen($data->date)) { + if ($save) { + $_SESSION['cache']['version_check'] = array( + 'response' => $response, + 'timestamp' => time() + ); + } + echo $response; } ?>