cvs: phpweb /include site.inc

From: Date: Sun, 22 Dec 2002 13:17:58 +0000
Subject: cvs: phpweb /include site.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14432@lists.php.net to get a copy of this message
goba Sun Dec 22 08:17:58 2002 EDT Modified files: /phpweb/include site.inc Log: Introduce the MIRROR_VIRTUAL type, which is for mirror site information created on the fly (unofficial mirrors). We may exlude them from several operations. Now only the official mirror list will exlude thesekind of mirrors. Intentionally there should be only one VIRTUAL mirror in the $MIRRORS array... Index: phpweb/include/site.inc diff -u phpweb/include/site.inc:1.232 phpweb/include/site.inc:1.233 --- phpweb/include/site.inc:1.232 Sat Dec 21 14:06:35 2002 +++ phpweb/include/site.inc Sun Dec 22 08:17:58 2002 @@ -87,7 +87,8 @@ define('MIRROR_DOWNLOAD', 0); define('MIRROR_STANDARD', 1); - define('MIRROR_SPECIAL', 2); + define('MIRROR_SPECIAL', 2); + define('MIRROR_VIRTUAL', 3); define('MIRROR_OK', 0); define('MIRROR_NOTACTIVE', 1); @@ -126,7 +127,7 @@ // If the mirror is not registered with this name, provide defaults // (no country code, no search, no stats, English default language ...) if (!isset($MIRRORS[$MYSITE])) { - $MIRRORS[$MYSITE] = array("xx", $MYSITE, FALSE, $MYSITE, MIRROR_SPECIAL, FALSE, "en", MIRROR_OK); + $MIRRORS[$MYSITE] = array("xx", $MYSITE, FALSE, $MYSITE, MIRROR_VIRTUAL, FALSE, "en", MIRROR_OK); } }

« previous php.mirrors (#14432) next »