mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 13:22:06 +02:00
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');
|
$parts = array('tmp_name','type','size','name');
|
||||||
while (list(,$part) = each($parts))
|
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['path'] = $this->get_array($content_in,substr($form_name,0,-1).'_path]');
|
||||||
$value['ip'] = get_var('REMOTE_ADDR',Array('SERVER'));
|
$value['ip'] = get_var('REMOTE_ADDR',Array('SERVER'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user