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

Do not allow the indexing of this page, if it is a result of a search

(this will hopefuly clean up the google listings of pages which only
give a search page)
This commit is contained in:
Gabor Hojtsy
2003-08-15 10:47:22 +00:00
parent 262623adca
commit d82bc71994

View File

@@ -98,7 +98,11 @@ if (count($temp) > 0) {
unset($matches, $temp);
}
site_header("Manual Quick Reference");
// Do not index page if presented as a search result
if (count($maybe) > 0) { $head_options = array("noindex"); }
else { $head_options = array(); }
site_header("Manual Quick Reference", $head_options);
?>
<h1>PHP Function List</h1>