Fixme: problem with trigger
This commit is contained in:
parent
4d0197115d
commit
c704383c48
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/core/ajaxfileupload.php
|
* \file htdocs/core/ajaxfileupload.php
|
||||||
* \brief File to return Ajax response on file upload
|
* \brief File to return Ajax response on file upload
|
||||||
* \version $Id: ajaxfileupload.php,v 1.9 2011/07/06 09:25:06 eldy Exp $
|
* \version $Id: ajaxfileupload.php,v 1.10 2011/07/06 10:34:30 hregis Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1');
|
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1');
|
||||||
@ -209,7 +209,8 @@ class UploadHandler
|
|||||||
FILE_APPEND
|
FILE_APPEND
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
dol_move_uploaded_file($uploaded_file, $file_path, 1);
|
// FIXME problem with trigger
|
||||||
|
dol_move_uploaded_file($uploaded_file, $file_path, 1, 0, 0, 1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Non-multipart uploads (PUT method support)
|
// Non-multipart uploads (PUT method support)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user