phpBB

Code Changes

File: includes/functions_convert.php

  Unmodified   Added   Modified   Removed
Line 424Line 424

$relative_path = empty($convert->convertor['source_path_absolute']);



$relative_path = empty($convert->convertor['source_path_absolute']);


	if (empty($convert->convertor['avatar_gallery_path']))


	// check for trailing slash
if (rtrim($convert->convertor['avatar_gallery_path'], '/') === '')

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_GALLERY_PATH'], 'import_avatar_gallery()'), __LINE__, __FILE__);
}

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_GALLERY_PATH'], 'import_avatar_gallery()'), __LINE__, __FILE__);
}

Line 588Line 589

global $convert, $phpbb_root_path, $config, $user;



global $convert, $phpbb_root_path, $config, $user;


	if (empty($convert->convertor['upload_path']))


	// check for trailing slash
if (rtrim($convert->convertor['upload_path'], '/') === '')

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_UPLOAD_DIR'], 'import_attachment()'), __LINE__, __FILE__);
}

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_UPLOAD_DIR'], 'import_attachment()'), __LINE__, __FILE__);
}

Line 647Line 649

global $convert, $phpbb_root_path, $config, $user;



global $convert, $phpbb_root_path, $config, $user;


	if (!isset($convert->convertor['smilies_path']))


	// check for trailing slash
if (rtrim($convert->convertor['smilies_path'], '/') === '')

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_SMILIES_PATH'], 'import_smiley()'), __LINE__, __FILE__);
}

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_SMILIES_PATH'], 'import_smiley()'), __LINE__, __FILE__);
}

Line 667Line 670

global $convert, $phpbb_root_path, $config, $user;



global $convert, $phpbb_root_path, $config, $user;


	if (!isset($convert->convertor['avatar_path']))


	// check for trailing slash
if (rtrim($convert->convertor['avatar_path'], '/') === '')

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_AVATAR_PATH'], 'import_avatar()'), __LINE__, __FILE__);
}

	{
$convert->p_master->error(sprintf($user->lang['CONV_ERROR_NO_AVATAR_PATH'], 'import_avatar()'), __LINE__, __FILE__);
}

Line 1816Line 1820
		'Alta Vista [Bot]'			=> array('Scooter/', ''),
'Ask Jeeves [Bot]' => array('Ask Jeeves', ''),
'Baidu [Spider]' => array('Baiduspider+(', ''),

		'Alta Vista [Bot]'			=> array('Scooter/', ''),
'Ask Jeeves [Bot]' => array('Ask Jeeves', ''),
'Baidu [Spider]' => array('Baiduspider+(', ''),

 
		'Bing [Bot]'				=> array('bingbot/', ''),

		'Exabot [Bot]'				=> array('Exabot/', ''),
'FAST Enterprise [Crawler]' => array('FAST Enterprise Crawler', ''),
'FAST WebCrawler [Crawler]' => array('FAST-WebCrawler/', ''),

		'Exabot [Bot]'				=> array('Exabot/', ''),
'FAST Enterprise [Crawler]' => array('FAST Enterprise Crawler', ''),
'FAST WebCrawler [Crawler]' => array('FAST-WebCrawler/', ''),