/[dolibarr]/dolibarr/htdocs/product/document.php
ViewVC logotype

Diff of /dolibarr/htdocs/product/document.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by eldy, Wed Aug 24 23:58:47 2005 UTC revision 1.3 by eldy, Thu Aug 25 00:04:51 2005 UTC
# Line 53  if ($productid > 0) Line 53  if ($productid > 0)
53   */   */
54  if ( $_POST["sendit"] && $conf->upload)  if ( $_POST["sendit"] && $conf->upload)
55  {  {
56        /*
57         * Creation répertoire si n'existe pas
58         */
59        if (! is_dir($upload_dir)) create_exdir($upload_dir);
60    
61      if (is_dir($upload_dir))      if (is_dir($upload_dir))
62      {      {
63          if (doliMoveFileUpload($_FILES['userfile']['tmp_name'], $upload_dir . "/" . $_FILES['userfile']['name']))          if (doliMoveFileUpload($_FILES['userfile']['tmp_name'], $upload_dir . "/" . $_FILES['userfile']['name']))

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26