cvs: php-master-web /manage mirrors.php
| From: | Gabor Hojtsy | Date: | Mon, 06 Jan 2003 12:19:14 +0000 |
| Subject: | cvs: php-master-web /manage mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14791@lists.php.net to get a copy of this message | ||
goba Mon Jan 6 07:19:14 2003 EDT
Modified files:
/php-master-web/manage mirrors.php
Log:
Enable mirror admins to issue a mirror check ASAP...
Index: php-master-web/manage/mirrors.php
diff -u php-master-web/manage/mirrors.php:1.29 php-master-web/manage/mirrors.php:1.30
--- php-master-web/manage/mirrors.php:1.29 Mon Jan 6 05:49:13 2003
+++ php-master-web/manage/mirrors.php Mon Jan 6 07:19:14 2003
@@ -3,6 +3,12 @@
include_once 'login.inc';
include_once 'functions.inc';
+// A mirror check is needed now, try to do it
+if (isset($checkmirrors)) {
+ ignore_user_abort(TRUE);
+ include_once "../scripts/mirror-test";
+}
+
// This page is for mirror administration
head("mirror administration");
@@ -237,6 +243,7 @@
</p>
<p>
Last mirror check time: <?php echo gmdate("Y/m/d H:i:s", $checktime); ?> GMT
+ <a href="$PHP_SELF?checkmirrors=1" target="_blank">Run a mirror check
now</a>.
</p>
<table border="0" cellspacing="1" width="100%">
<tr bgcolor="#aaaaaa">