Commit: 7161ee2589bb599497b9c9f3eb9d0274c067c984 Author: Hannes Magnusson <[email protected]> Wed, 20 Nov 2013 16:36:39 -0800 Parents: dfa3742830b6d37d6831bb74694d3088942ec716 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=7161ee2589bb599497b9c9f3eb9d0274c067c984 Log: No longer used with the new typeahead search Changed paths: D search-index.php Diff: diff --git a/search-index.php b/search-index.php deleted file mode 100644 index da0cefe..0000000 --- a/search-index.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php -require dirname(__FILE__) . "/include/languages.inc"; - -$langcode = language_convert(isset($_GET["lang"]) ? $_GET["lang"] : "en"); - -if (isset($_GET["description"])) { - $filename = "search-description"; - $varname = "descriptionIndex"; -} -else { - $filename = "search-index"; - $varname = "searchIndex"; -} - -header("Content-Type: application/javascript"); - -// Will send out the proper header, if the browser supports it at all -ob_start("ob_gzhandler"); - -echo "$varname = "; -$file = dirname(__FILE__) . "/manual/$langcode/$filename.json"; -if (is_readable($file)) { - readfile($file); -} else { - echo "[]"; -} - - -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
