diff options
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 2aa12adb2e..283f1175ad 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -3298,10 +3298,14 @@ function obtain_latest_version_info($force_update = false, $warn_fail = false, $ { $errstr = ''; $errno = 0; - - $info = get_remote_file('version.phpbb.com', '/phpbb', - ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno); - + // www.phpBB-SEO.com SEO TOOLKIT BEGIN + global $config; + $url = 'www.phpbb-seo.com'; + $dir = (strpos($config['default_lang'], 'fr') !== false ? '/fr' : '/en') . '/updatecheck'; + $info = get_remote_file($url, $dir, ((defined('PHPBB_SEO_QA')) ? 'test_30x.txt' : 'premod_30x.txt'), $errstr, $errno); + //$info = get_remote_file('version.phpbb.com', '/phpbb', + // ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno); + // www.phpBB-SEO.com SEO TOOLKIT END if ($info === false) { $cache->destroy('versioncheck'); |