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

Style Google Custom Search Engine results.

This commit is contained in:
Adam Harvey
2012-09-07 17:46:44 +08:00
parent c6cd85903d
commit 5eb4baaaa1
2 changed files with 135 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ if (is_array($data)) {
$res = unserialize($data);
// HTTP status line is passed on, signifies an error
site_header('Search results', array("noindex", "current" => "FIXME"));
site_header('Search results', array("noindex", "current" => "docs"));
if (!is_array($res)) {
exit_with_pretty_error(null, 'Internal error', 'Please try again later');