mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
- added confirm box to ucp zebra (adding fried/foe)
- permission fixes for conversions - use more appropiate error message within convertor if source tables could not be found - other tiny fixes git-svn-id: file:///svn/phpbb/trunk@6925 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -320,7 +320,16 @@ class acp_language
|
||||
}
|
||||
|
||||
$transfer->rename($lang_path . $file, $lang_path . $file . '.bak');
|
||||
$transfer->copy_file('store/' . $lang_path . $file, $lang_path . $file);
|
||||
$result = $transfer->copy_file('store/' . $lang_path . $file, $lang_path . $file);
|
||||
|
||||
if ($result === false)
|
||||
{
|
||||
// If failed, try to rename again and print error out...
|
||||
$transfer->rename($lang_path . $file . '.bak', $lang_path . $file);
|
||||
|
||||
trigger_error($user->lang['UPLOAD_FAILED'] . adm_back_link($this->u_action . '&action=details&id=' . $lang_id . '&language_file=' . urlencode($selected_lang_file)), E_USER_WARNING);
|
||||
}
|
||||
|
||||
$transfer->close_session();
|
||||
|
||||
// Remove from storage folder
|
||||
|
Reference in New Issue
Block a user