1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Make ChangeLog and News archive searches work

This commit is contained in:
Rasmus Lerdorf
2011-07-14 05:54:20 +00:00
parent 99e6a4f5a3
commit ad41364c59

View File

@@ -81,12 +81,12 @@ if (!empty($_FORM['pattern'])) {
case "news_archive":
$p = urlencode($_FORM['show']);
mirror_redirect($MYSITE . "results.php?q=title:news%2Barchive+{$ucp}&p=local");
mirror_redirect($MYSITE . "results.php?q=intitle:news%2Barchive+{$ucp}&p=local");
break;
case "changelogs":
$p = urlencode($_FORM['show']);
mirror_redirect($MYSITE . "results.php?q=title:changelog%2Barchive+{$ucp}&p=all");
mirror_redirect($MYSITE . "results.php?q=intitle:ChangeLog+{$ucp}&p=local");
break;
// Covers the rest