mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Fix Bug #36535 (PHP 5.3 compatibility) + version number updates (if RC2 will be released we will change it again. ;))
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9050 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
538acb3db5
commit
c185c3b64b
@ -25,7 +25,7 @@ if (!defined('IN_PHPBB'))
|
||||
*/
|
||||
|
||||
// phpBB Version
|
||||
define('PHPBB_VERSION', '3.0.3-RC1');
|
||||
define('PHPBB_VERSION', '3.0.3');
|
||||
|
||||
// QA-related
|
||||
// define('PHPBB_QA', 1);
|
||||
|
@ -78,7 +78,7 @@ if (version_compare(PHP_VERSION, '6.0.0-dev', '>='))
|
||||
}
|
||||
else
|
||||
{
|
||||
set_magic_quotes_runtime(0);
|
||||
@set_magic_quotes_runtime(0);
|
||||
define('STRIP', (get_magic_quotes_gpc()) ? true : false);
|
||||
}
|
||||
|
||||
@ -545,6 +545,9 @@ $database_update_info = array(
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
// No changes from 3.0.3-RC1 to 3.0.3
|
||||
'3.0.3-RC1' => array(),
|
||||
);
|
||||
|
||||
// Determine mapping database type
|
||||
@ -1936,7 +1939,7 @@ function change_database_data(&$no_updates, $version)
|
||||
$no_updates = false;
|
||||
break;
|
||||
|
||||
// Changes from 3.0.3-RC1 to 3.0.3-RC2
|
||||
// Changes from 3.0.3-RC1 to 3.0.3
|
||||
case '3.0.3-RC1':
|
||||
$sql = 'UPDATE ' . LOG_TABLE . "
|
||||
SET log_operation = 'LOG_DELETE_TOPIC'
|
||||
|
@ -218,7 +218,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.3-dev');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.3');
|
||||
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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user