|
From: Paul S. O. <ps...@us...> - 2002-01-28 17:40:40
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv10991
Modified Files:
login.php
Log Message:
Fix various var not set warnings ... many thanks go to The Horta for pointing out and offering fixes for many of these
Index: login.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/login.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** login.php 2002/01/27 15:16:08 1.38
--- login.php 2002/01/28 17:40:38 1.39
***************
*** 34,38 ****
// Set page ID for session management
//
! $userdata = session_pagestart($user_ip, PAGE_LOGIN, $session_length);
init_userprefs($userdata);
//
--- 34,38 ----
// Set page ID for session management
//
! $userdata = session_pagestart($user_ip, PAGE_LOGIN);
init_userprefs($userdata);
//
***************
*** 158,161 ****
--- 158,162 ----
if( !$userdata['session_logged_in'] )
{
+ $page_title = $lang['Login'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
***************
*** 170,174 ****
if( preg_match("/^redirect=(.*)$/si", $forward_to, $forward_matches) )
{
! $forward_to = ($forward_matches[3]) ? $forward_matches[3] : $forward_matches[1];
$forward_match = explode("&", $forward_to);
--- 171,175 ----
if( preg_match("/^redirect=(.*)$/si", $forward_to, $forward_matches) )
{
! $forward_to = ( !empty($forward_matches[3]) ) ? $forward_matches[3] : $forward_matches[1];
$forward_match = explode("&", $forward_to);
|