mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch '3.1.x'
This commit is contained in:
commit
038b27abba
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ class plupload
|
||||||
|
|
||||||
$tmp_file = $this->temporary_filepath($upload['tmp_name']);
|
$tmp_file = $this->temporary_filepath($upload['tmp_name']);
|
||||||
|
|
||||||
if (!move_uploaded_file($upload['tmp_name'], $tmp_file))
|
if (!phpbb_is_writable($this->temporary_directory) || !move_uploaded_file($upload['tmp_name'], $tmp_file))
|
||||||
{
|
{
|
||||||
$this->emit_error(103, 'PLUPLOAD_ERR_MOVE_UPLOADED');
|
$this->emit_error(103, 'PLUPLOAD_ERR_MOVE_UPLOADED');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue