/[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.10 by dpavlin, Sat Jul 27 20:30:45 2002 UTC
# Line 571  function GifIcon($txt) { Line 571  function GifIcon($txt) {
571  function Navigate($fsRoot,$relDir) {  function Navigate($fsRoot,$relDir) {
572    
573          global $gblEditable, $gblIcon, $gblModDays, $webRoot, $gblHide,          global $gblEditable, $gblIcon, $gblModDays, $webRoot, $gblHide,
574                  $gblIgnoreUnknownFileType,                  $gblIgnoreUnknownFileType, $gblRepositoryDir,
575                  $HTTP_GET_VARS, $html, $realm_config;                  $HTTP_GET_VARS, $html, $realm_config;
576    
577          $self     = $HTTP_SERVER_VARS["PHP_SELF"] ;          $self     = $HTTP_SERVER_VARS["PHP_SELF"] ;
# Line 859  function Navigate($fsRoot,$relDir) { Line 859  function Navigate($fsRoot,$relDir) {
859  <TR><TD></TD><TD COLSPAN=5><HR></TD></TR>  <TR><TD></TD><TD COLSPAN=5><HR></TD></TR>
860    
861  <?  <?
862  if (file_exists(".info.inc")) {  
863    if (file_exists("$gblRepositoryDir/.info.inc")) {
864          print "<TR><TD></TD><TD COLSPAN=5>";          print "<TR><TD></TD><TD COLSPAN=5>";
865          include(".info.inc");          include("$gblRepositoryDir/.info.inc");
866          print "</TD></TR>          print "</TD></TR><TR><TD></TD><TD COLSPAN=5><HR></TD></TR>";
         <TR><TD></TD><TD COLSPAN=5><HR></TD></TR>";  
867  }  }
868    
869  ?>  ?>
870    
871  <FORM METHOD="POST" ACTION="<?= $self ?>">  <FORM METHOD="POST" ACTION="<?= $self ?>">
# Line 1620  function readMime() { Line 1621  function readMime() {
1621                  if (strstr($FILENAME,"/"))                  if (strstr($FILENAME,"/"))
1622                          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.") ;
1623                  if (! isset($FILENAME)) {       // from update file                  if (! isset($FILENAME)) {       // from update file
1624                          $target = "$fsDir/".basename($FN_name);                          $target = "$fsDir/".basename($FN);
1625                  } else {                  } else {
1626                          $target = "$fsDir/$FILENAME";                          $target = "$fsDir/$FILENAME";
1627                  }                  }

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

  ViewVC Help
Powered by ViewVC 1.1.26