Skip to content

Commit

Permalink
I think we'll call this the final release of v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Circlepuller committed Nov 29, 2019
1 parent 216d0f6 commit 9c966c9
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 129 deletions.
4 changes: 2 additions & 2 deletions inc/mod/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ function mod_dashboard() {
$latest = unserialize($_COOKIE['update']);
} else {
$ctx = stream_context_create(array('http' => array('timeout' => 5)));
if ($code = @file_get_contents('http://engine.vichan.net/version.txt', 0, $ctx)) {
if ($code = @file_get_contents('https://tinyboard.dev/version.txt', 0, $ctx)) {
$ver = strtok($code, "\n");

if (preg_match('@^// v(\d+)\.(\d+)\.(\d+)\s*?$@', $ver, $matches)) {
if (preg_match('@^v(\d+)\.(\d+)\.(\d+)\s*?$@', $ver, $matches)) {
$latest = array(
'massive' => $matches[1],
'major' => $matches[2],
Expand Down

0 comments on commit 9c966c9

Please sign in to comment.