cvs: php-master-web /scripts mirror-test
| From: | James Cox | Date: | Tue, 21 May 2002 22:13:36 +0000 |
| Subject: | cvs: php-master-web /scripts mirror-test | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-10377@lists.php.net to get a copy of this message | ||
imajes Tue May 21 18:13:36 2002 EDT
Modified files:
/php-master-web/scripts mirror-test
Log:
make mirrors active, so we can deactivate later
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.3 php-master-web/scripts/mirror-test:1.4
--- php-master-web/scripts/mirror-test:1.3 Wed May 15 03:32:59 2002
+++ php-master-web/scripts/mirror-test Tue May 21 18:13:36 2002
@@ -21,6 +21,12 @@
$hosts[$i]['maintainer'] = $row['maintainer'];
}
+/* make all hosts active again -- cop out / cheat to get around the deactivation later */
+
+$query = "UPDATE mirrors SET active = 1";
+
+$result = mysql_query($query) or die("unable to update the database");
+
/* now this stage takes a long time, and we need to go out of PHP to execute it,
so we are going to write that info to a file */