mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 02:18:56 +00:00
fixed two small flaws.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3790 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a4138b5454
commit
070f82e91e
3 changed files with 7 additions and 6 deletions
|
@ -106,6 +106,7 @@ p,ul,td {font-size:10pt;}
|
|||
<li>Limited username length the strict way - duplicate username registrations should no longer occur</li>
|
||||
<li>Changed split words handling - now foreign characters are indexed correctly, searching for them works too</li>
|
||||
<li>Changed empty email To Field to use a non-disclosure delimiter - Anti-Spam software should handle those mails correctly, they are RFC compliant</li>
|
||||
<li>Fixed wrong language var in install.php - FTP Config screen</li>
|
||||
</ul>
|
||||
|
||||
<a name="203"></a><h3 class="h3">1.ii. Changes since 2.0.3</h3>
|
||||
|
|
|
@ -37,12 +37,12 @@ function session_begin($user_id, $user_ip, $page_id, $auto_create = 0, $enable_a
|
|||
if ( isset($HTTP_COOKIE_VARS[$cookiename . '_sid']) || isset($HTTP_COOKIE_VARS[$cookiename . '_data']) )
|
||||
{
|
||||
$session_id = isset($HTTP_COOKIE_VARS[$cookiename . '_sid']) ? $HTTP_COOKIE_VARS[$cookiename . '_sid'] : '';
|
||||
$sessiondata = isset($HTTP_COOKIE_VARS[$cookiename . '_data']) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookiename . '_data'])) : '';
|
||||
$sessiondata = isset($HTTP_COOKIE_VARS[$cookiename . '_data']) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookiename . '_data'])) : array();
|
||||
$sessionmethod = SESSION_METHOD_COOKIE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$sessiondata = '';
|
||||
$sessiondata = array();
|
||||
$session_id = ( isset($HTTP_GET_VARS['sid']) ) ? $HTTP_GET_VARS['sid'] : '';
|
||||
$sessionmethod = SESSION_METHOD_GET;
|
||||
}
|
||||
|
@ -206,13 +206,13 @@ function session_pagestart($user_ip, $thispage_id)
|
|||
|
||||
if ( isset($HTTP_COOKIE_VARS[$cookiename . '_sid']) || isset($HTTP_COOKIE_VARS[$cookiename . '_data']) )
|
||||
{
|
||||
$sessiondata = isset( $HTTP_COOKIE_VARS[$cookiename . '_data'] ) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookiename . '_data'])) : '';
|
||||
$sessiondata = isset( $HTTP_COOKIE_VARS[$cookiename . '_data'] ) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookiename . '_data'])) : array();
|
||||
$session_id = isset( $HTTP_COOKIE_VARS[$cookiename . '_sid'] ) ? $HTTP_COOKIE_VARS[$cookiename . '_sid'] : '';
|
||||
$sessionmethod = SESSION_METHOD_COOKIE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$sessiondata = '';
|
||||
$sessiondata = array();
|
||||
$session_id = ( isset($HTTP_GET_VARS['sid']) ) ? $HTTP_GET_VARS['sid'] : '';
|
||||
$sessionmethod = SESSION_METHOD_GET;
|
||||
}
|
||||
|
|
|
@ -493,11 +493,11 @@ else if (!empty($HTTP_POST_VARS['send_file']) && $HTTP_POST_VARS['send_file'] ==
|
|||
<td class="row2"><input type="text" name="ftp_dir"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1" align="right"><span class="gen"><?php echo $lang['ftp_password']; ?></span></td>
|
||||
<td class="row1" align="right"><span class="gen"><?php echo $lang['ftp_username']; ?></span></td>
|
||||
<td class="row2"><input type="text" name="ftp_user"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1" align="right"><span class="gen"><?php echo $lang['ftp_username']; ?></span></td>
|
||||
<td class="row1" align="right"><span class="gen"><?php echo $lang['ftp_password']; ?></span></td>
|
||||
<td class="row2"><input type="password" name="ftp_pass"></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
|
Loading…
Add table
Reference in a new issue