mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Fixed small problem with translation of imgs
git-svn-id: file:///svn/phpbb/trunk@1671 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -303,7 +303,8 @@ function init_userprefs($userdata)
|
|||||||
{
|
{
|
||||||
$new_value = str_replace("_lang", "_" . $board_config['default_lang'], $value);
|
$new_value = str_replace("_lang", "_" . $board_config['default_lang'], $value);
|
||||||
|
|
||||||
$images[$key] = ( !file_exists($new_value) ) ? $new_value : str_replace("_lang", "_english", $value);
|
$images[$key] = ( file_exists($new_value) ) ? $new_value : str_replace("_lang", "_english", $value);
|
||||||
|
print $new_value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1201,4 +1202,4 @@ function phpbb_preg_quote($str, $delimiter)
|
|||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user