diff options
author | forums <forums@ns38133.ovh.net> | 2011-02-12 23:34:52 +0100 |
---|---|---|
committer | forums <forums@ns38133.ovh.net> | 2011-02-12 23:36:21 +0100 |
commit | b85c3b967a7f6fa061439061076695613622960c (patch) | |
tree | 6b5d9c96fc1cc6f77810c3bbef621be677581abe /phpBB/includes/functions_admin.php | |
parent | 43cc2cd33c892b6dbcbed8a5ad59e52c83a6326d (diff) | |
download | forums-b85c3b967a7f6fa061439061076695613622960c.tar forums-b85c3b967a7f6fa061439061076695613622960c.tar.gz forums-b85c3b967a7f6fa061439061076695613622960c.tar.bz2 forums-b85c3b967a7f6fa061439061076695613622960c.tar.xz forums-b85c3b967a7f6fa061439061076695613622960c.zip |
Patched for SEO with phpbb-seo toolkit
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'); |