mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
necessary changes...
git-svn-id: file:///svn/phpbb/trunk@8072 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
$updates_to_version = '3.0.RC5';
|
||||
$updates_to_version = '3.0.RC6';
|
||||
|
||||
// Return if we "just include it" to find out for which version the database update is responsuble for
|
||||
if (defined('IN_PHPBB') && defined('IN_INSTALL'))
|
||||
@@ -983,7 +983,7 @@ if ($exit)
|
||||
</html>
|
||||
|
||||
<?php
|
||||
exit;
|
||||
exit_handler();
|
||||
}
|
||||
|
||||
// Schema updates
|
||||
@@ -1502,6 +1502,17 @@ if (version_compare($current_version, '3.0.RC4', '<='))
|
||||
$no_updates = false;
|
||||
}
|
||||
|
||||
if (version_compare($current_version, '3.0.RC5', '<='))
|
||||
{
|
||||
// In case the user is having the bot mediapartner google "as is", adjust it.
|
||||
$sql = 'UPDATE ' . BOTS_TABLE . "
|
||||
SET bot_agent = '" . $db->sql_escape('Mediapartners-Google') . "'
|
||||
WHERE bot_agent = '" . $db->sql_escape('Mediapartners-Google/') . "'";
|
||||
_sql($sql, $errored, $error_ary);
|
||||
|
||||
$no_updates = false;
|
||||
}
|
||||
|
||||
_write_result($no_updates, $errored, $error_ary);
|
||||
|
||||
$error_ary = array();
|
||||
@@ -1604,7 +1615,7 @@ $cache->purge();
|
||||
|
||||
<?php
|
||||
|
||||
exit;
|
||||
exit_handler();
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -415,7 +415,7 @@ class module
|
||||
$db->sql_close();
|
||||
}
|
||||
|
||||
exit;
|
||||
exit_handler();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -606,7 +606,7 @@ class module
|
||||
$db->sql_close();
|
||||
}
|
||||
|
||||
exit;
|
||||
exit_handler();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -2060,7 +2060,7 @@ class install_install extends module
|
||||
'FAST WebCrawler [Crawler]' => array('FAST-WebCrawler/', ''),
|
||||
'Francis [Bot]' => array('http://www.neomo.de/', ''),
|
||||
'Gigabot [Bot]' => array('Gigabot/', ''),
|
||||
'Google Adsense [Bot]' => array('Mediapartners-Google/', ''),
|
||||
'Google Adsense [Bot]' => array('Mediapartners-Google', ''),
|
||||
'Google Desktop' => array('Google Desktop', ''),
|
||||
'Google Feedfetcher' => array('Feedfetcher-Google', ''),
|
||||
'Google [Bot]' => array('Googlebot', ''),
|
||||
|
@@ -208,7 +208,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('topics_per_page',
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('tpl_allow_php', '0');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_icons_path', 'images/upload_icons');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_path', 'files');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.RC5');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.RC6-dev');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_expire_days', '90');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_gc', '14400');
|
||||
|
||||
|
Reference in New Issue
Block a user