cvs: phpweb / search.php
| From: | Gabor Hojtsy | Date: | Sun, 15 Sep 2002 11:33:29 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12537@lists.php.net to get a copy of this message | ||
goba Sun Sep 15 07:33:29 2002 EDT
Modified files:
/phpweb search.php
Log:
AFAIK we do not index source code for quite a long time now
Index: phpweb/search.php
diff -u phpweb/search.php:1.31 phpweb/search.php:1.32
--- phpweb/search.php:1.31 Tue Jul 2 20:06:21 2002
+++ phpweb/search.php Sun Sep 15 07:33:29 2002
@@ -123,7 +123,6 @@
<option value="maillist"
<?=($show=='maillist')?'selected':''?>>general mailing list
<option value="devlist"
<?=($show=='devlist')?'selected':''?>>developer mailing list
<option value="phpdoc"
<?=($show=='phpdoc')?'selected':''?>>documentation mailing
list
-<option value="source"
<?=($show=='source')?'selected':''?>>website source code
</select><br>
</td></tr></table>
</form>
@@ -155,11 +154,7 @@
$words = escapeshellcmd (urlencode($pattern));
$config = "php";
- if ($show == "source") {
- $exclude = "/manual";
- $restrict = $MYSITE."source";
- $where = "Site source code";
- } elseif ($show == "manual") {
+ if ($show == "manual") {
$restrict = $MYSITE."manual/en";
$exclude = "/source";
$where = "PHP documentation";