git-svn-id: file:///svn/phpbb/trunk@7838 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-07-06 21:09:13 +00:00
parent 554e05a5b5
commit f88d8bf526
2 changed files with 2 additions and 0 deletions

View file

@ -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] 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] 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] 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> </ul>

View file

@ -43,6 +43,7 @@ class session
if (!$script_name) if (!$script_name)
{ {
$script_name = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : getenv('REQUEST_URI'); $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; $page_array['failover'] = 1;
} }