Skip to content

Commit

Permalink
#940 Fix issues with update check
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Oct 16, 2014
1 parent 1536dda commit 9367040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function generate_config_cache()
function generate_update_cache()
{
// Get the version number from GitHub
$output = trim(@file_get_contents('https://raw.github.com/ModernBB/ModernBB/master/version.txt'));
$output = trim(@file_get_contents('https://raw.github.com/ModernBB/Luna/mbbstable/version.txt'));
// Output version as PHP code
$content = '<?php'."\n\n".'define(\'FORUM_UPDATE_LOADED\', 1);'."\n\n".'$update_cache = '.var_export($output, true).';'."\n".'$last_check_time = '.time().';'."\n\n".'?>';
Expand Down
2 changes: 1 addition & 1 deletion include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Version
const FORUM_VERSION = '3.5.0';

// The ModernBB Core version
const FORUM_CORE_VERSION = '0.0.35.2511';
const FORUM_CORE_VERSION = '0.0.35.2512';

// The database version number, every change in the database requires this number to go one up
const FORUM_DB_VERSION = 77;
Expand Down

0 comments on commit 9367040

Please sign in to comment.