cvs: phpweb / mirror-info.php
| From: | Hannes Magnusson | Date: | Sun, 01 Jun 2008 15:52:06 +0000 |
| Subject: | cvs: phpweb / mirror-info.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-1840@lists.php.net to get a copy of this message | ||
bjori Sun Jun 1 15:52:06 2008 UTC
Modified files:
/phpweb mirror-info.php
Log:
Add debug info into failure messages
http://cvs.php.net/viewvc.cgi/phpweb/mirror-info.php?r1=1.23&r2=1.24&diff_format=u
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.23 phpweb/mirror-info.php:1.24
--- phpweb/mirror-info.php:1.23 Mon Apr 21 11:10:54 2008
+++ phpweb/mirror-info.php Sun Jun 1 15:52:06 2008
@@ -1,5 +1,5 @@
<?php
-// $Id: mirror-info.php,v 1.23 2008/04/21 11:10:54 bjori Exp $
+// $Id: mirror-info.php,v 1.24 2008/06/01 15:52:06 bjori Exp $
// Define $MYSITE and $LAST_UPDATED variables
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
@@ -55,6 +55,7 @@
return array(
"name" => "Apache manual alias",
"see" => $MYSITE . "mirroring-troubles.php#manual-redirect",
+ "got" => var_export($content),
);
}
@@ -63,6 +64,7 @@
return array(
"name" => "Header weirdness. Pages named '.html.php' are returning
wrong status headers",
"see" => $MYSITE . "mirroring-troubles.php#content-type",
+ "got" => var_export($ctype),
);
}
@@ -73,7 +75,8 @@
if (strpos($ctype, "text/html") === false) {
return array(
"name" => "MultiViews on",
- "see" => $MYSITE . "mirroring-troubles.php#multiviews"
+ "see" => $MYSITE . "mirroring-troubles.php#multiviews",
+ "got" => var_export($ctype),
);
}
@@ -83,6 +86,7 @@
return array(
"name" => "Var Handler",
"see" => $MYSITE . "mirroring-troubles.php#var",
+ "got" => var_export($header),
);
}