forked from extern/egroupware
fix for file-upload off (in php.ini)
This commit is contained in:
parent
2979b60394
commit
e6fdb028ab
@ -1038,7 +1038,7 @@
|
||||
$parts = array('tmp_name','type','size','name');
|
||||
while (list(,$part) = each($parts))
|
||||
{
|
||||
$value[$part] = $this->get_array($GLOBALS['HTTP_POST_FILES'][$name],$part.$index);
|
||||
$value[$part] = is_array($_FILES[$name]) ? $this->get_array($_FILES[$name],$part.$index) : False;
|
||||
}
|
||||
$value['path'] = $this->get_array($content_in,substr($form_name,0,-1).'_path]');
|
||||
$value['ip'] = get_var('REMOTE_ADDR',Array('SERVER'));
|
||||
|
Loading…
Reference in New Issue
Block a user