InfotelGLPI / positions

Plugin positions for GLPI
http://blogglpi.infotel.com
GNU General Public License v2.0
17 stars 11 forks source link

sub-area not working #55

Closed jeje57 closed 2 years ago

jeje57 commented 3 years ago

Hi, I try to used the sub-area, but I've always : File /var/www/glpi/files/_uploads/543erge.png not found. I can't find any error on log. The document is created but no file is associated with it.


jeje57 commented 3 years ago

ok, on the file position.class.php line 570 : $tmpfile = GLPI_TMP_DIR."/".$document_id.$name;

by

$tmpfile = GLPI_UPLOAD_DIR."/".$document_id.$name;

and it's works