/[docman]/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.11 by dpavlin, Fri Aug 4 11:25:05 2000 UTC revision 1.12 by dpavlin, Fri Aug 4 11:53:47 2000 UTC
# Line 1356  function safe_rename($from,$to) { Line 1356  function safe_rename($from,$to) {
1356          case "Co" :          case "Co" :
1357                  // checkout                  // checkout
1358                  Lock("$gblFsRoot/$relDir/$F");                  Lock("$gblFsRoot/$relDir/$F");
1359                    header("Content-Disposition: attachment; filename=$F" );
1360                  Header("Location: ".urlpath("$relDir/$F"));                  Header("Location: ".urlpath("$relDir/$F"));
1361                  exit;                  exit;
1362          case "Ci" :          case "Ci" :
# Line 1371  function safe_rename($from,$to) { Line 1372  function safe_rename($from,$to) {
1372          case "V" :          case "V" :
1373                  // view                  // view
1374                  LogIt("$gblFsRoot/$relDir/$F","viewed");                  LogIt("$gblFsRoot/$relDir/$F","viewed");
1375                    header("Content-Disposition: attachment; filename=$F" );
1376                  Header("Location: ".urlpath("$relDir/$F"));                  Header("Location: ".urlpath("$relDir/$F"));
1377                  exit;                  exit;
1378          }          }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.26