Re: cvs: phpweb / mirror-info.php
| From: | Allowee | Date: | Sat, 07 Jun 2003 11:54:49 +0000 |
| Subject: | Re: cvs: phpweb / mirror-info.php | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-18573@lists.php.net to get a copy of this message | ||
This is working.. when you got that file.
there needs to be an @ before the virtual and an if() to echo something like
'alias'
look at http://phpweb.allowee.no-ip.biz/mirror-info.php
and see the error, i've set the alias /manual to test the file.
.: Allowee
On Saturday 07 June 2003 12:16, Gabor Hojtsy wrote:
> goba Sat Jun 7 06:16:53 2003 EDT
>
> Modified files:
> /phpweb mirror-info.php
> Log:
> Report on local manual availability too
>
> Index: phpweb/mirror-info.php
> diff -u phpweb/mirror-info.php:1.8 phpweb/mirror-info.php:1.9
> --- phpweb/mirror-info.php:1.8 Sat Jan 18 10:20:27 2003
> +++ phpweb/mirror-info.php Sat Jun 7 06:16:52 2003
> @@ -27,6 +27,7 @@
> $mirror_stats = 2; // Don't know
> }
>
> -echo "$MYSITE|", phpversion(), "|$LAST_UPDATED|$searchtype|$mirror_stats|"
> , default_language(); +echo "$MYSITE|", phpversion(),
> "|$LAST_UPDATED|$searchtype|$mirror_stats|" , default_language(), "|";
>
> -?>
> \ No newline at end of file
> +// Test if there is a /manual alias
> +virtual("/manual/noalias.txt");