--- docman.php 2001/03/27 10:54:02 1.38
+++ docman.php 2001/04/06 08:46:42 1.40
@@ -856,7 +856,8 @@
NAME
-
+
+
OR UPLOAD A FILE
@@ -1059,7 +1060,7 @@
function safe_rename($fromdir,$fromfile,$tofile) {
function try_rename($from,$to) {
- print "$from -> $to\n";
+# print "$from -> $to\n";
if (file_exists($from) && is_writeable(dirname($to))) {
rename($from,$to);
}
@@ -1075,7 +1076,7 @@
$todir=dirname($to);
$tofile=basename($to);
- print "
$fromdir / $fromfile -> $todir / $tofile\n\n";
+# print "$fromdir / $fromfile -> $todir / $tofile\n\n";
try_rename("$fromdir/$fromfile","$todir/$tofile");
try_dir("$todir/.log");