phpBB

Code Changes

File: viewonline.php

  Unmodified   Added   Modified   Removed
Line 187Line 187
		continue;
}


		continue;
}


	preg_match('#^([a-z/]+)#i', $row['session_page'], $on_page);

	preg_match('#^([a-z0-9/_-]+)#i', $row['session_page'], $on_page);

	if (!sizeof($on_page))
{
$on_page[1] = '';

	if (!sizeof($on_page))
{
$on_page[1] = '';

Line 305Line 305
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;


			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;


		case 'download':

		case 'download/file':

			$location = $user->lang['DOWNLOADING_FILE'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;

			$location = $user->lang['DOWNLOADING_FILE'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;