1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

The last point had no meaning, as disabled mirrors won't know about

their status as disabled, cause they are disabled because their are not
updated, so the mirrors list is also not up to date...
This commit is contained in:
Gabor Hojtsy
2003-02-02 10:59:44 +00:00
parent e5134b2955
commit 870e3ff9a4

View File

@@ -32,19 +32,6 @@ commonHeader("Information About This PHP Mirror Site");
<ul>
<li>The site was last updated at <?php echo strftime("%c %Z", $LAST_UPDATED); ?></li>
<li>
The mirror is currently
<?php
$status = mirror_status();
if ($status == MIRROR_OK) { echo "listed in the mirrors' list"; }
else {
echo "not listed in the mirrors' list, becuase it ";
if ($status == MIRROR_OUTDATED) { echo "is outdated"; }
elseif ($status == MIRROR_DOESNOTWORK) { echo "has accessibility problems"; }
elseif ($status == MIRROR_NOTACTIVE) { echo "is disabled"; }
}
?>
</li>
</ul>
<?php commonFooter(); ?>