cvs: phpdoc /scripts checkent.php
| From: | Philip Olson | Date: | Wed, 28 May 2003 00:43:31 +0000 |
| Subject: | cvs: phpdoc /scripts checkent.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353971@lists.php.net to get a copy of this message | ||
philip Tue May 27 20:43:31 2003 EDT
Modified files:
/phpdoc/scripts checkent.php
Log:
Additional debugging information for broken links.
Index: phpdoc/scripts/checkent.php
diff -u phpdoc/scripts/checkent.php:1.5 phpdoc/scripts/checkent.php:1.6
--- phpdoc/scripts/checkent.php:1.5 Fri Mar 29 14:42:06 2002
+++ phpdoc/scripts/checkent.php Tue May 27 20:43:31 2003
@@ -85,7 +85,7 @@
fclose ($fpurl);
}
else {
- errormsg ($entity, "Could not open document: " . $link);
+ errormsg ($entity, "Could not open document: " . $entity_url);
}
break;
@@ -95,10 +95,10 @@
if (@ftp_login($ftp, "anonymous", "georg@php.net")) {
$flist = ftp_nlist($ftp, $url["path"]);
if (!count($flist)) {
- errormsg($entity, "unknown path: " . $url["path"]);
+ errormsg($entity, "unknown path: " . $url["path"] .
" for ftp host: " . $url['host']);
}
} else {
- errormsg ($entity, "could not login as anonymous to " .
$url["host"]);
+ errormsg ($entity, "could not login as anonymous to FTP host: " .
$url["host"]);
ftp_quit($ftp);
}
} else {