cvs: phpweb / mirror-info.php
| From: | Gabor Hojtsy | Date: | Sat, 07 Jun 2003 18:18:32 +0000 |
| Subject: | cvs: phpweb / mirror-info.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18579@lists.php.net to get a copy of this message | ||
goba Sat Jun 7 14:18:32 2003 EDT
Modified files:
/phpweb mirror-info.php
Log:
Let's have a better looking error report
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.9 phpweb/mirror-info.php:1.10
--- phpweb/mirror-info.php:1.9 Sat Jun 7 06:16:52 2003
+++ phpweb/mirror-info.php Sat Jun 7 14:18:32 2003
@@ -30,4 +30,5 @@
echo "$MYSITE|", phpversion(), "|$LAST_UPDATED|$searchtype|$mirror_stats|" ,
default_language(), "|";
// Test if there is a /manual alias
-virtual("/manual/noalias.txt");
+$correctmanual = @virtual("/manual/noalias.txt");
+if (!$correctmanual) { echo "manual-alias"; }