mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
Related revisions: r9935, r9936 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9948 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
10cdf3506c
commit
e5fadfd42b
@ -190,6 +190,7 @@
|
|||||||
<li>[Fix] Do not mark global announcements as read if all topics in a forum become read (Bug #15729).</li>
|
<li>[Fix] Do not mark global announcements as read if all topics in a forum become read (Bug #15729).</li>
|
||||||
<li>[Fix] Fix general error while registration, through undefined variable $config in validate_referer (Bug #49035 - Patch by wjvriend)</li>
|
<li>[Fix] Fix general error while registration, through undefined variable $config in validate_referer (Bug #49035 - Patch by wjvriend)</li>
|
||||||
<li>[Fix] Correctly extract column default value when exporting PostgreSQL tables. (Bug #48955)</li>
|
<li>[Fix] Correctly extract column default value when exporting PostgreSQL tables. (Bug #48955)</li>
|
||||||
|
<li>[Fix] Allow updater to work correctly with PHP filename extensions other than ".php". (Bugs #15809, #49215)</li>
|
||||||
<li>[Change] submit_post() now accepts force_approved_state key passed to $data to indicate new posts being approved (true) or unapproved (false).</li>
|
<li>[Change] submit_post() now accepts force_approved_state key passed to $data to indicate new posts being approved (true) or unapproved (false).</li>
|
||||||
<li>[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.</li>
|
<li>[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.</li>
|
||||||
<li>[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)</li>
|
<li>[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)</li>
|
||||||
|
@ -203,7 +203,7 @@ class install_update extends module
|
|||||||
}
|
}
|
||||||
|
|
||||||
// What about the language file? Got it updated?
|
// What about the language file? Got it updated?
|
||||||
if (in_array('language/en/install.php', $this->update_info['files']))
|
if (in_array('language/en/install.' . $phpEx, $this->update_info['files']))
|
||||||
{
|
{
|
||||||
$lang = array();
|
$lang = array();
|
||||||
include($this->new_location . 'language/en/install.' . $phpEx);
|
include($this->new_location . 'language/en/install.' . $phpEx);
|
||||||
@ -1577,6 +1577,12 @@ class install_update extends module
|
|||||||
|
|
||||||
if ($info !== false)
|
if ($info !== false)
|
||||||
{
|
{
|
||||||
|
// We assume that all file extensions have been renamed to .$phpEx,
|
||||||
|
// if someone is using a non .php file extension for php files.
|
||||||
|
// However, in $update_info['files'] we use hardcoded .php.
|
||||||
|
// We therefore replace .php with .$phpEx.
|
||||||
|
$info['files'] = preg_replace('/\.php$/i', ".$phpEx", $info['files']);
|
||||||
|
|
||||||
// Adjust the update info file to hold some specific style-related information
|
// Adjust the update info file to hold some specific style-related information
|
||||||
$info['custom'] = array();
|
$info['custom'] = array();
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user