/[docman2]/docman.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /docman.php

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

revision 1.8 by dpavlin, Sat Jul 27 19:56:32 2002 UTC revision 1.9 by dpavlin, Sat Jul 27 19:59:35 2002 UTC
# Line 1620  function readMime() { Line 1620  function readMime() {
1620                  if (strstr($FILENAME,"/"))                  if (strstr($FILENAME,"/"))
1621                          Error("Upload error","Non-conforming filename. Filename <tt>$FILENAME</tt> has slashes (<tt>/</tt>) in it.") ;                          Error("Upload error","Non-conforming filename. Filename <tt>$FILENAME</tt> has slashes (<tt>/</tt>) in it.") ;
1622                  if (! isset($FILENAME)) {       // from update file                  if (! isset($FILENAME)) {       // from update file
1623                          $target = "$fsDir/".basename($FN_name);                          $target = "$fsDir/".basename($FN);
1624                  } else {                  } else {
1625                          $target = "$fsDir/$FILENAME";                          $target = "$fsDir/$FILENAME";
1626                  }                  }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.26