mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7838 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
554e05a5b5
commit
f88d8bf526
2 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,7 @@ p a {
|
|||
<li>[Fix] Allow for negative and decimal numbers to be in transposed queries in the Oracle and Firebird DBAL (Bug #13033)</li>
|
||||
<li>[Fix] Some jabber related bugs (Bug #12989, #11805, #11809)</li>
|
||||
<li>[Fix] Added UTF-8 support for banning via the MCP (Bug #13013)</li>
|
||||
<li>[Fix] Properly detect the script name in session::extract_current_page() if PHP_SELF is not defined (Bug #12705) - patch provided by ToonArmy</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ class session
|
|||
if (!$script_name)
|
||||
{
|
||||
$script_name = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : getenv('REQUEST_URI');
|
||||
$script_name = (($pos = strpos($script_name, '?')) !== false) ? substr($script_name, 0, strpos($script_name, '?')) : $script_name;
|
||||
$page_array['failover'] = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue