Re: phpweb / bug-pwd-finder.php bugstats.php cal.php
| From: | Rasmus Lerdorf | Date: | Wed, 19 Sep 2001 18:37:03 +0000 |
| Subject: | Re: phpweb / bug-pwd-finder.php bugstats.php cal.php | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-6459@lists.php.net to get a copy of this message | ||
How is it commented out? I see this:
if (!is_primary_site()) {
if (is_backup_primary()) {
commonHeader("Service Unavailable");?>
<p>Sorry, the event calendar is temporarily unavailable.</p>
<?php
commonFooter();
exit;
}
header("Location: http://www.php.net/cal.php");
exit;
}
On Wed, 19 Sep 2001, Hojtsy Gabor wrote:
> > + if (is_backup_primary()) {
> > + commonHeader("Service Unavailable");?>
> > +<p>Sorry, the bug database is temporarily unavailable.</p>
> > +<?php
> > + commonFooter();
> > + exit;
> > + }
> > +
>
> I tried to understand the code in the cal.php file, because
> some if like this should be added there also. But I can't
> understand why it tries to connect to the mysql db on
> every mirror, and why the redirection to php.net is commented
> out. Please also look at that file if you have time.
>
> Thanks,
> Goba
>