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:
13
mirror.php
13
mirror.php
@@ -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(); ?>
|
||||
|
||||
Reference in New Issue
Block a user