cvs: phpweb / mirror-info.php
| From: | Gabor Hojtsy | Date: | Sun, 05 Jan 2003 12:02:36 +0000 |
| Subject: | cvs: phpweb / mirror-info.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14734@lists.php.net to get a copy of this message | ||
goba Sun Jan 5 07:02:36 2003 EDT
Modified files:
/phpweb mirror-info.php
Log:
Provide one more search type
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.5 phpweb/mirror-info.php:1.6
--- phpweb/mirror-info.php:1.5 Fri Jan 3 16:41:13 2003
+++ phpweb/mirror-info.php Sun Jan 5 07:02:34 2003
@@ -7,14 +7,19 @@
unset($htsearch_prog);
if (file_exists("configuration.inc")) {
include_once 'configuration.inc';
+ $searchtype = 2;
}
if (isset($_SERVER['HTSEARCH_PROG'])) {
$htsearch_prog = $_SERVER['HTSEARCH_PROG'];
+ $searchtype = 1;
}
if (!is_executable($htsearch_prog)) {
unset($htsearch_prog);
}
+if (!isset($htsearch_prog)) {
+ $searchtype = 0;
+}
-echo "$MYSITE|", phpversion(), "|$LAST_UPDATED|" . ((int)
isset($htsearch_prog));
+echo "$MYSITE|", phpversion(), "|$LAST_UPDATED|$searchtype";
?>